Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
查尔斯-BUG万象集
Continew Admin
提交
35fd6810
Continew Admin
项目概览
查尔斯-BUG万象集
/
Continew Admin
9 个月 前同步成功
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
分析
仓库
DevOps
项目成员
Pages
Continew Admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
GitCode(gitcode.net)2024年7月9日维护升级公告
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
35fd6810
编写于
8月 27, 2023
作者:
查尔斯-BUG万象集
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style: 减少前端部分 warning 提示
上级
3bb1333b
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
28 addition
and
17 deletion
+28
-17
continew-admin-ui/src/api/tool/generator.ts
continew-admin-ui/src/api/tool/generator.ts
+3
-1
continew-admin-ui/src/components/crud/index.ts
continew-admin-ui/src/components/crud/index.ts
+1
-2
continew-admin-ui/src/components/footer/index.vue
continew-admin-ui/src/components/footer/index.vue
+7
-1
continew-admin-ui/src/store/modules/dict/index.ts
continew-admin-ui/src/store/modules/dict/index.ts
+3
-7
continew-admin-ui/src/utils/request.ts
continew-admin-ui/src/utils/request.ts
+0
-2
continew-admin-ui/src/views/dashboard/workplace/components/announcement.vue
...src/views/dashboard/workplace/components/announcement.vue
+1
-1
continew-admin-ui/src/views/dashboard/workplace/components/docs.vue
...dmin-ui/src/views/dashboard/workplace/components/docs.vue
+3
-1
continew-admin-ui/src/views/system/announcement/index.vue
continew-admin-ui/src/views/system/announcement/index.vue
+5
-1
continew-admin-ui/src/views/tool/generator/index.vue
continew-admin-ui/src/views/tool/generator/index.vue
+5
-1
未找到文件。
continew-admin-ui/src/api/tool/generator.ts
浏览文件 @
35fd6810
...
...
@@ -47,7 +47,9 @@ export interface FieldConfigRecord {
}
export
function
listFieldConfig
(
tableName
:
string
,
requireSync
:
boolean
)
{
return
axios
.
get
<
FieldConfigRecord
[]
>
(
`
${
BASE_URL
}
/field/
${
tableName
}
?requireSync=
${
requireSync
}
`
);
return
axios
.
get
<
FieldConfigRecord
[]
>
(
`
${
BASE_URL
}
/field/
${
tableName
}
?requireSync=
${
requireSync
}
`
);
}
export
interface
GenConfigRecord
{
...
...
continew-admin-ui/src/components/crud/index.ts
浏览文件 @
35fd6810
...
...
@@ -53,8 +53,7 @@ export default function download(
// 释放掉 blob 对象
window
.
URL
.
revokeObjectURL
(
href
);
})
.
catch
((
error
)
=>
{
console
.
error
(
error
);
.
catch
(()
=>
{
Notification
.
warning
({
title
:
'
警告
'
,
content
:
...
...
continew-admin-ui/src/components/footer/index.vue
浏览文件 @
35fd6810
<
template
>
<a-layout-footer
class=
"footer"
>
{{
`Copyright © 2022-${new Date().getFullYear()
}
`
}}
&
nbsp
;
<
a
href
=
"
https://blog.charles7c.top/about/me
"
target
=
"
_blank
"
rel
=
"
noopener
"
>
Charles7c
<
/a
>
<
a
href
=
"
https://blog.charles7c.top/about/me
"
target
=
"
_blank
"
rel
=
"
noopener
"
>
Charles7c
<
/a
>
<
span
>&
nbsp
;
⋅
&
nbsp
;
<
/span
>
<
a
href
=
"
https://github.com/Charles7c/continew-admin
"
...
...
continew-admin-ui/src/store/modules/dict/index.ts
浏览文件 @
35fd6810
...
...
@@ -9,14 +9,10 @@ const useDictStore = defineStore('dict', {
if
(
_name
==
null
||
_name
===
''
)
{
return
null
;
}
try
{
for
(
let
i
=
0
;
i
<
this
.
dict
.
length
;
i
+=
1
)
{
if
(
this
.
dict
[
i
].
name
===
_name
)
{
return
this
.
dict
[
i
].
detail
;
}
for
(
let
i
=
0
;
i
<
this
.
dict
.
length
;
i
+=
1
)
{
if
(
this
.
dict
[
i
].
name
===
_name
)
{
return
this
.
dict
[
i
].
detail
;
}
}
catch
(
e
)
{
console
.
log
(
e
);
}
return
null
;
},
...
...
continew-admin-ui/src/utils/request.ts
浏览文件 @
35fd6810
...
...
@@ -22,7 +22,6 @@ axios.interceptors.request.use(
return
config
;
},
(
error
)
=>
{
console
.
log
(
error
);
return
Promise
.
reject
(
error
);
}
);
...
...
@@ -63,7 +62,6 @@ axios.interceptors.response.use(
return
Promise
.
reject
(
new
Error
(
res
.
msg
));
},
(
error
)
=>
{
console
.
error
(
`err:
${
error
}
`
);
const
res
=
error
.
response
.
data
;
Message
.
error
({
content
:
res
.
msg
||
'
网络错误
'
,
...
...
continew-admin-ui/src/views/dashboard/workplace/components/announcement.vue
浏览文件 @
35fd6810
...
...
@@ -57,7 +57,7 @@
<svg-icon
icon-class=
"clock-circle"
class=
"icon"
/>
<span
class=
"label"
>
发布时间:
</span>
<span>
{{
dataDetail.effectiveTime
dataDetail.effectiveTime
? dataDetail.effectiveTime
: dataDetail.createTime
}}
</span>
...
...
continew-admin-ui/src/views/dashboard/workplace/components/docs.vue
浏览文件 @
35fd6810
...
...
@@ -7,7 +7,9 @@
style="height: 166px"
>
<template
#extra
>
<a-link
href=
"https://doc.charles7c.top"
target=
"_blank"
rel=
"noopener"
>
{{
$t
(
'
workplace.viewMore
'
)
}}
</a-link>
<a-link
href=
"https://doc.charles7c.top"
target=
"_blank"
rel=
"noopener"
>
{{
$t
(
'
workplace.viewMore
'
)
}}
</a-link>
</
template
>
<a-row>
<a-col
:span=
"12"
>
...
...
continew-admin-ui/src/views/system/announcement/index.vue
浏览文件 @
35fd6810
...
...
@@ -317,7 +317,11 @@
<span>
<svg-icon
icon-class=
"clock-circle"
class=
"icon"
/>
<span
class=
"label"
>
发布时间:
</span>
<span>
{{ dataDetail.effectiveTime ? dataDetail.effectiveTime : dataDetail.createTime }}
</span>
<span>
{{
dataDetail.effectiveTime
? dataDetail.effectiveTime
: dataDetail.createTime
}}
</span>
</span>
</a-space>
</div>
...
...
continew-admin-ui/src/views/tool/generator/index.vue
浏览文件 @
35fd6810
...
...
@@ -184,7 +184,11 @@
align=
"center"
>
<
template
#cell=
"{ record }"
>
<a-checkbox
v-if=
"record.showInForm"
v-model=
"record.isRequired"
value=
"true"
/>
<a-checkbox
v-if=
"record.showInForm"
v-model=
"record.isRequired"
value=
"true"
/>
<a-checkbox
v-else
disabled
/>
</
template
>
</a-table-column>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录