Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
basic-vue-admin
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-vue-admin
Commits
db0bfc88
提交
db0bfc88
authored
11月 04, 2020
作者:
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(table): fix table type error
上级
6d9585b4
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
9 行增加
和
62 行删除
+9
-62
settings.json
.vscode/settings.json
+3
-53
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+1
-0
BasicTitle.vue
src/components/Basic/src/BasicTitle.vue
+1
-1
index.tsx
src/components/StrengthMeter/index.tsx
+1
-0
BasicTable.vue
src/components/Table/src/BasicTable.vue
+1
-1
vueHelper.ts
src/utils/helper/vueHelper.ts
+2
-7
没有找到文件。
.vscode/settings.json
浏览文件 @
db0bfc88
...
...
@@ -136,6 +136,7 @@
"vetur.format.defaultFormatter.scss"
:
"prettier"
,
//
使用js-beautify-html格式化
"vetur.format.defaultFormatter.css"
:
"prettier"
,
//
使用js-beautify-html格式化
//
"vetur.format.defaultFormatter.html"
:
"prettyhtml"
,
"vetur.format.defaultFormatter.ts"
:
"prettier-tslint"
,
"vetur.format.defaultFormatter.js"
:
"prettier"
,
//
"vetur.useWorkspaceDependencies"
:
true
,
"vetur.format.defaultFormatterOptions"
:
{
...
...
@@ -150,22 +151,6 @@
"singleQuote"
:
true
//
使用单引号
,
默认
false
(在jsx中配置无效
,
默认都是双引号)
}
},
//
===========================================
//
=============
Material
Icon
Theme
=========
//
===========================================
"workbench.iconTheme"
:
"material-icon-theme"
,
//
主题色
//
===========================================
//
=============
stylus
Supremacy
============
//
===========================================
"stylusSupremacy.insertColons"
:
false
,
//
是否插入冒号
"stylusSupremacy.insertSemicolons"
:
false
,
//
是否插入分号
"stylusSupremacy.insertBraces"
:
false
,
//
是否插入大括号
//===========================================
//=============
koroFileHeaders
===============
//===========================================
"fileheader.configObj"
:
{
"autoAdd"
:
false
//
将该选项设置为true即可开启
},
//
函数注释
//===========================================
//=============
Code
Runner
=================
...
...
@@ -186,40 +171,7 @@
"prettier.requireConfig"
:
true
,
"typescript.updateImportsOnFileMove.enabled"
:
"always"
,
"workbench.sideBar.location"
:
"left"
,
"cSpell.enabledLanguageIds"
:
[
"asciidoc"
,
"c"
,
"cpp"
,
"csharp"
,
"css"
,
"git-commit"
,
"go"
,
"handlebars"
,
"haskell"
,
"html"
,
"jade"
,
"java"
,
"javascript"
,
"javascriptreact"
,
"json"
,
"jsonc"
,
"latex"
,
"less"
,
"markdown"
,
"php"
,
"plaintext"
,
"pug"
,
"python"
,
"restructuredtext"
,
"rust"
,
"scala"
,
"scss"
,
"text"
,
"typescript"
,
"typescriptreact"
,
"yaml"
,
"yml"
],
"[javascriptreact]"
:
{
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
},
...
...
@@ -250,9 +202,7 @@
"[markdown]"
:
{
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
},
"cSpell.words"
:
[
"yfboilerplate"
],
"editor.codeActionsOnSave"
:
{
"source.fixAll.eslint"
:
true
}
...
...
CHANGELOG.zh_CN.md
浏览文件 @
db0bfc88
...
...
@@ -11,6 +11,7 @@
-
更新
`ant-design-vue`
版本为
`beta13`
-
更新
`vite`
版本为
`rc.9`
-
异常页调整
-
`BasicTitle`
Color blocks are not displayed by default
### 🐛 Bug Fixes
...
...
src/components/Basic/src/BasicTitle.vue
浏览文件 @
db0bfc88
...
...
@@ -21,7 +21,7 @@
},
showSpan
:
{
type
:
Boolean
as
PropType
<
boolean
>
,
default
:
tru
e
,
default
:
fals
e
,
},
},
setup
()
{
...
...
src/components/StrengthMeter/index.tsx
浏览文件 @
db0bfc88
...
...
@@ -6,6 +6,7 @@ import { Input } from 'ant-design-vue';
import
zxcvbn
from
'zxcvbn'
;
import
{
extendSlots
}
from
'/@/utils/helper/tsxHelper'
;
import
'./index.less'
;
const
prefixCls
=
'strength-meter'
;
export
default
defineComponent
({
...
...
src/components/Table/src/BasicTable.vue
浏览文件 @
db0bfc88
...
...
@@ -219,7 +219,7 @@
pagination
:
PaginationProps
,
// @ts-ignore
filters
:
Partial
<
Record
<
string
,
string
[]
>>
,
sorter
:
SorterResult
<
any
>
sorter
:
SorterResult
)
{
const
{
clearSelectOnPageChange
,
sortFn
}
=
unref
(
getMergeProps
);
if
(
clearSelectOnPageChange
)
{
...
...
src/utils/helper/vueHelper.ts
浏览文件 @
db0bfc88
...
...
@@ -26,17 +26,12 @@ export function tryOnMounted(fn: () => void, sync = true) {
}
export
function
tryOnUnmounted
(
fn
:
()
=>
Promise
<
void
>
|
void
)
{
if
(
getCurrentInstance
())
{
onUnmounted
(
fn
);
}
getCurrentInstance
()
&&
onUnmounted
(
fn
);
}
export
function
tryTsxEmit
(
fn
:
(
_instance
:
any
)
=>
Promise
<
void
>
|
void
)
{
const
instance
=
getCurrentInstance
();
if
(
instance
)
{
fn
.
call
(
null
,
instance
);
}
instance
&&
fn
.
call
(
null
,
instance
);
}
export
function
isInSetup
()
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论