Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
啊嘞嘞EC
vue-vben-admin
提交
b107b528
V
vue-vben-admin
项目概览
啊嘞嘞EC
/
vue-vben-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-vben-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b107b528
编写于
1月 27, 2021
作者:
V
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: modifyVars not work
上级
1a85dff5
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
6 addition
and
82 deletion
+6
-82
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+1
-0
build/config/lessModifyVars.ts
build/config/lessModifyVars.ts
+4
-9
build/vite/plugin/styleImport.ts
build/vite/plugin/styleImport.ts
+1
-1
src/design/color.less
src/design/color.less
+0
-2
src/types/global.d.ts
src/types/global.d.ts
+0
-6
src/types/module.d.ts
src/types/module.d.ts
+0
-8
src/types/shim-tsx.d.ts
src/types/shim-tsx.d.ts
+0
-25
src/types/vue-app-env.d.ts
src/types/vue-app-env.d.ts
+0
-20
src/views/demo/table/tableData.tsx
src/views/demo/table/tableData.tsx
+0
-11
未找到文件。
CHANGELOG.zh_CN.md
浏览文件 @
b107b528
...
...
@@ -16,6 +16,7 @@
-
修复表格换行问题
-
修复菜单外链不跳转
-
修复菜单顶部显示问题
-
修复
`modifyVars`
配置失效问题
## 2.0.0-rc.17 (2020-01-18)
...
...
build/config/lessModifyVars.ts
浏览文件 @
b107b528
...
...
@@ -7,23 +7,18 @@ const primaryColor = '#0084f4';
//{
const
modifyVars
=
{
'
primary-color
'
:
primaryColor
,
// Global dominant color
'
info-color
'
:
primaryColor
,
// Default color
'
success-color
'
:
'
#55D187
'
,
// Success color
'
error-color
'
:
'
#ED6F6F
'
,
// False color
'
warning-color
'
:
'
#EFBD47
'
,
// Warning color
'
link-color
'
:
primaryColor
,
// Link color
'
disabled-color
'
:
'
#C2C2CC
'
,
// Failure color
'
disabled-color
'
:
'
rgba(0, 0, 0, 0.25)
'
,
// Failure color
'
heading-color
'
:
'
rgba(0, 0, 0, 0.85)
'
,
// Title color
'
text-color
'
:
'
rgba(0, 0, 0, 0.85)
'
,
// Main text color
// 'heading-color': '#2C3A61', // Title color
// 'text-color': '#2C3A61', // Main text color
'
text-color-secondary
'
:
'
#606266
'
,
// Subtext color
'
background-color-base
'
:
'
#f4f7f9
'
,
// background color
'
text-color-secondary
'
:
'
rgba(0, 0, 0, 0.45)
'
,
// Subtext color
'
font-size-base
'
:
'
14px
'
,
// Main font size
'
box-shadow-base
'
:
'
0 2px 8px rgba(0, 0, 0, 0.15)
'
,
// Floating shadow
'
border-color-base
'
:
'
#F0F0F0
'
,
// Border color,
'
border-color-split
'
:
'
#F0F0F0
'
,
// Border color,
'
border-radius-base
'
:
'
4px
'
,
// Component/float fillet
'
border-color-base
'
:
'
#d9d9d9
'
,
// Border color,
'
border-radius-base
'
:
'
2px
'
,
// Component/float fillet
};
//}
...
...
build/vite/plugin/styleImport.ts
浏览文件 @
b107b528
...
...
@@ -7,7 +7,7 @@ export function configStyleImportConfig() {
libraryName
:
'
ant-design-vue
'
,
esModule
:
true
,
resolveStyle
:
(
name
)
=>
{
return
`ant-design-vue/es/
${
name
}
/style/
css
`
;
return
`ant-design-vue/es/
${
name
}
/style/
index
`
;
},
},
],
...
...
src/design/color.less
浏览文件 @
b107b528
...
...
@@ -16,8 +16,6 @@
@content-bg: #f4f7f9;
// @content-bg: #f0f2f5;
@info-color: @primary-color;
@basic-mask-color: fade(@white, 30%);
// :export {
// name: "less";
...
...
src/types/global.d.ts
浏览文件 @
b107b528
...
...
@@ -39,12 +39,6 @@ declare type DeepPartial<T> = {
[
P
in
keyof
T
]?:
DeepPartial
<
T
[
P
]
>
;
};
// type DeepPartial<T> = T extends Function
// ? T
// : T extends object
// ? { [K in keyof T]?: DeepPartial<T[K]> }
// : T;
declare
type
LabelValueOptions
=
{
label
:
string
;
value
:
any
;
...
...
src/types/module.d.ts
浏览文件 @
b107b528
declare
module
'
globby!/@/router/routes/modules/**/*.@(ts)
'
;
declare
module
'
globby!/@/router/menus/modules/**/*.@(ts)
'
;
declare
module
'
globby?locale!/@/locales/lang/**/*.@(ts)
'
;
declare
const
React
:
string
;
declare
module
'
ant-design-vue/es/locale/*
'
{
import
{
Locale
}
from
'
ant-design-vue/types/locale-provider
'
;
const
locale
:
Locale
&
ReadonlyRecordable
;
...
...
src/types/shim-tsx.d.ts
已删除
100644 → 0
浏览文件 @
1a85dff5
import
type
{
ComponentRenderProxy
,
VNode
}
from
'
vue
'
;
declare
module
'
*.tsx
'
{
import
{
defineComponent
}
from
'
vue
'
;
const
component
:
ReturnType
<
defineComponent
>
;
export
default
component
;
}
declare
global
{
namespace
JSX
{
// tslint:disable no-empty-interface
type
Element
=
VNode
;
// tslint:disable no-empty-interface
type
ElementClass
=
ComponentRenderProxy
;
interface
ElementAttributesProperty
{
$props
:
any
;
}
interface
IntrinsicElements
{
[
elem
:
string
]:
any
;
}
interface
IntrinsicAttributes
{
[
elem
:
string
]:
any
;
}
}
}
src/types/vue-app-env.d.ts
浏览文件 @
b107b528
...
...
@@ -3,23 +3,3 @@ declare module '*.vue' {
const
Component
:
ReturnType
<
typeof
defineComponent
>
;
export
default
Component
;
}
declare
namespace
NodeJS
{
interface
Process
{
env
:
ProcessEnv
;
}
interface
ProcessEnv
{
/**
* By default, there are two modes in Vite:
*
* * `development` is used by vite and vite serve
* * `production` is used by vite build
*
* You can overwrite the default mode used for a command by passing the --mode option flag.
*
*/
readonly
NODE_ENV
:
'
development
'
|
'
production
'
;
}
}
declare
let
process
:
NodeJS
.
Process
;
src/views/demo/table/tableData.tsx
浏览文件 @
b107b528
...
...
@@ -308,17 +308,6 @@ export function getTreeTableData() {
address
:
'
New York No. 1 Lake ParkNew York No. 1 Lake Park
'
,
beginTime
:
new
Date
().
toLocaleString
(),
endTime
:
new
Date
().
toLocaleString
(),
children
:
[
{
id
:
`l3-
${
index
}
`
,
name
:
'
John Brown
'
,
age
:
`1
${
index
}
`
,
no
:
`
${
index
+
10
}
`
,
address
:
'
New York No. 1 Lake ParkNew York No. 1 Lake Park
'
,
beginTime
:
new
Date
().
toLocaleString
(),
endTime
:
new
Date
().
toLocaleString
(),
},
],
},
],
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录