Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zentaoatf
提交
99960cab
Z
zentaoatf
项目概览
易企天创
/
zentaoatf
9 个月 前同步成功
通知
11
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
3
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zentaoatf
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
3
Issue
3
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
99960cab
编写于
8月 04, 2022
作者:
aaronchen2k2k
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix code review issues
上级
8e394964
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
8 deletion
+10
-8
client/src/app/app.js
client/src/app/app.js
+2
-2
sonar-project.properties
sonar-project.properties
+3
-0
ui/src/components/ButtonList.vue
ui/src/components/ButtonList.vue
+3
-3
ui/src/components/Col.vue
ui/src/components/Col.vue
+2
-3
未找到文件。
client/src/app/app.js
浏览文件 @
99960cab
...
@@ -217,8 +217,8 @@ export class ZtfApp {
...
@@ -217,8 +217,8 @@ export class ZtfApp {
return
;
return
;
}
}
const
version
=
Config
.
pkg
.
buildTime
?
'
build at
'
+
new
Date
(
Config
.
pkg
.
buildTime
).
toLocaleString
()
:
''
+
let
version
=
Config
.
pkg
.
buildTime
?
'
build at
'
+
new
Date
(
Config
.
pkg
.
buildTime
).
toLocaleString
()
:
''
DEBUG
?
'
[debug]
'
:
''
version
+=
DEBUG
?
'
[debug]
'
:
''
app
.
setAboutPanelOptions
({
app
.
setAboutPanelOptions
({
applicationName
:
Lang
.
string
(
Config
.
pkg
.
name
)
||
Config
.
pkg
.
displayName
,
applicationName
:
Lang
.
string
(
Config
.
pkg
.
name
)
||
Config
.
pkg
.
displayName
,
applicationVersion
:
Config
.
pkg
.
version
,
applicationVersion
:
Config
.
pkg
.
version
,
...
...
sonar-project.properties
浏览文件 @
99960cab
...
@@ -5,3 +5,6 @@ sonar.exclusions=bin/**,demo/**,log/**,xdoc/**,client/node_modules/**,client/ui/
...
@@ -5,3 +5,6 @@ sonar.exclusions=bin/**,demo/**,log/**,xdoc/**,client/node_modules/**,client/ui/
sonar.host.url
=
http://localhost:59001
sonar.host.url
=
http://localhost:59001
sonar.login
=
sqp_94f2484e50b1cfea719eb791f4e5d544be887f87
sonar.login
=
sqp_94f2484e50b1cfea719eb791f4e5d544be887f87
sonar.issue.ignore.multicriteria
=
e1,e2,e3,e4
sonar.issue.ignore.multicriteria.e1.ruleKey
=
javascript:S3358
ui/src/components/ButtonList.vue
浏览文件 @
99960cab
...
@@ -42,10 +42,10 @@ const buttonPropsList = computed(() => {
...
@@ -42,10 +42,10 @@ const buttonPropsList = computed(() => {
let
item
:
(
ButtonProps
|
Record
<
string
,
any
>
)
&
{
key
:
string
|
number
|
symbol
};
let
item
:
(
ButtonProps
|
Record
<
string
,
any
>
)
&
{
key
:
string
|
number
|
symbol
};
if
(
props
.
replaceFields
&&
Button
.
props
)
{
if
(
props
.
replaceFields
&&
Button
.
props
)
{
item
=
Object
.
keys
(
Button
.
props
).
reduce
((
item
,
propName
)
=>
{
item
=
Object
.
keys
(
Button
.
props
).
reduce
((
item
2
,
propName
)
=>
{
const
replacePropName
=
props
.
replaceFields
?
props
.
replaceFields
[
propName
]
:
null
;
const
replacePropName
=
props
.
replaceFields
?
props
.
replaceFields
[
propName
]
:
null
;
item
[
propName
]
=
x
[
typeof
replacePropName
===
'
string
'
?
replacePropName
:
propName
];
item2
[
propName
]
=
x
[
typeof
replacePropName
===
'
string
'
?
replacePropName
:
propName
];
return
item
;
return
item
2
;
},
{
key
:
x
.
key
!==
undefined
?
x
.
key
:
i
});
},
{
key
:
x
.
key
!==
undefined
?
x
.
key
:
i
});
}
else
{
}
else
{
item
=
{
item
=
{
...
...
ui/src/components/Col.vue
浏览文件 @
99960cab
...
@@ -9,7 +9,6 @@ import {useI18n} from "vue-i18n";
...
@@ -9,7 +9,6 @@ import {useI18n} from "vue-i18n";
const
{
t
}
=
useI18n
();
const
{
t
}
=
useI18n
();
import
{
computed
,
defineProps
,
inject
}
from
"
vue
"
;
import
{
computed
,
defineProps
,
inject
}
from
"
vue
"
;
import
{
ButtonProps
}
from
"
@/components/Button.vue
"
;
export
interface
ColumnProps
{
export
interface
ColumnProps
{
width
?:
string
,
width
?:
string
,
...
@@ -20,7 +19,7 @@ export interface ColumnProps {
...
@@ -20,7 +19,7 @@ export interface ColumnProps {
const
props
=
defineProps
<
ColumnProps
>
();
const
props
=
defineProps
<
ColumnProps
>
();
let
gutter
=
inject
(
'
gutter
'
);
let
gutter
=
inject
(
'
gutter
'
)
as
any
;
const
colClass
=
computed
(()
=>
{
const
colClass
=
computed
(()
=>
{
const
classes
:
string
[]
=
[];
const
classes
:
string
[]
=
[];
...
@@ -30,7 +29,7 @@ const colClass = computed(() => {
...
@@ -30,7 +29,7 @@ const colClass = computed(() => {
classes
.
push
(
`z-col-
${
span
}
`
);
classes
.
push
(
`z-col-
${
span
}
`
);
}
}
if
(
props
.
offset
>
0
)
{
if
(
props
.
offset
&&
props
.
offset
>
0
)
{
classes
.
push
(
`z-col-offset-
${
props
.
offset
}
`
);
classes
.
push
(
`z-col-offset-
${
props
.
offset
}
`
);
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录