mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-12-30 16:57:09 +08:00
refactor: 调整 eslint.config.js,优化代码格式
This commit is contained in:
@@ -23,11 +23,11 @@
|
||||
const images = [
|
||||
{
|
||||
src: `https://continew.top/qrcode-text.png?${new Date().getTime()}`,
|
||||
url: 'https://continew.top/about/intro.html'
|
||||
url: 'https://continew.top/about/intro.html',
|
||||
},
|
||||
{
|
||||
src: `https://continew.top/sponsor.png?${new Date().getTime()}`,
|
||||
url: 'https://continew.top/sponsor.html'
|
||||
}
|
||||
url: 'https://continew.top/sponsor.html',
|
||||
},
|
||||
]
|
||||
</script>
|
||||
|
||||
@@ -30,7 +30,7 @@ const links = [
|
||||
{ text: '常见问题', url: 'https://continew.top/faq.html' },
|
||||
{ text: '更新日志', url: 'https://continew.top/admin/other/changelog.html' },
|
||||
{ text: '贡献指南', url: 'https://continew.top/admin/other/contributing.html' },
|
||||
{ text: '赞助支持 💖', url: 'https://continew.top/sponsor.html' }
|
||||
{ text: '赞助支持 💖', url: 'https://continew.top/sponsor.html' },
|
||||
]
|
||||
</script>
|
||||
|
||||
|
||||
@@ -139,7 +139,7 @@ const get = <T = unknown>(url: string, params?: object, config?: AxiosRequestCon
|
||||
paramsSerializer: (obj) => {
|
||||
return qs.stringify(obj)
|
||||
},
|
||||
...config
|
||||
...config,
|
||||
})
|
||||
.then((res: AxiosResponse) => resolve(res.data))
|
||||
.catch((err: { msg: string }) => reject(err))
|
||||
@@ -156,7 +156,7 @@ const getDataList = async () => {
|
||||
data.forEach((item) => {
|
||||
dataList.value.push({
|
||||
...item,
|
||||
createTimeString: dayjs(new Date(item.createTime)).fromNow()
|
||||
createTimeString: dayjs(new Date(item.createTime)).fromNow(),
|
||||
})
|
||||
})
|
||||
} catch (err) {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
css: true,
|
||||
}"
|
||||
>
|
||||
{{ item.title }}
|
||||
{{ item.title }}
|
||||
</a-typography-paragraph>
|
||||
</a-link>
|
||||
</div>
|
||||
|
||||
@@ -50,7 +50,7 @@ const list = [
|
||||
logo: 'https://continew.top/logo.svg',
|
||||
url: 'https://gitee.com/continew/continew-admin',
|
||||
status: '迭代',
|
||||
statusColor: 'rgb(var(--primary-6))'
|
||||
statusColor: 'rgb(var(--primary-6))',
|
||||
},
|
||||
{
|
||||
name: 'ContiNew Starter',
|
||||
@@ -58,7 +58,7 @@ const list = [
|
||||
logo: 'https://continew.top/logo.svg',
|
||||
url: 'https://gitee.com/continew/continew-starter',
|
||||
status: '迭代',
|
||||
statusColor: 'rgb(var(--primary-6))'
|
||||
statusColor: 'rgb(var(--primary-6))',
|
||||
},
|
||||
{
|
||||
name: 'ContiNew Admin UI',
|
||||
@@ -66,7 +66,7 @@ const list = [
|
||||
logo: 'https://continew.top/logo.svg',
|
||||
url: 'https://gitee.com/continew/continew-admin-ui',
|
||||
status: '迭代',
|
||||
statusColor: 'rgb(var(--primary-6))'
|
||||
statusColor: 'rgb(var(--primary-6))',
|
||||
},
|
||||
{
|
||||
name: 'ContiNew Admin UI Arco',
|
||||
@@ -74,7 +74,7 @@ const list = [
|
||||
logo: 'https://continew.top/logo.svg',
|
||||
url: 'https://gitee.com/continew/continew-admin-ui-arco',
|
||||
status: '归档',
|
||||
statusColor: 'rgb(var(--warning-6))'
|
||||
statusColor: 'rgb(var(--warning-6))',
|
||||
},
|
||||
{
|
||||
name: 'ContiNew Cloud',
|
||||
@@ -82,7 +82,7 @@ const list = [
|
||||
logo: 'https://continew.top/logo.svg',
|
||||
url: '#',
|
||||
status: '孵化',
|
||||
statusColor: 'rgb(var(--danger-6))'
|
||||
statusColor: 'rgb(var(--danger-6))',
|
||||
},
|
||||
{
|
||||
name: 'charles7c.github.io',
|
||||
@@ -90,8 +90,8 @@ const list = [
|
||||
logo: 'https://blog.charles7c.top/logo.png',
|
||||
url: 'https://github.com/Charles7c/charles7c.github.io',
|
||||
status: '归档',
|
||||
statusColor: 'rgb(var(--warning-6))'
|
||||
}
|
||||
statusColor: 'rgb(var(--warning-6))',
|
||||
},
|
||||
]
|
||||
</script>
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ const links = [
|
||||
{ text: '菜单管理', icon: 'menu', path: '/system/menu' },
|
||||
{ text: '文件管理', icon: 'file', path: '/system/file' },
|
||||
{ text: '代码生成', icon: 'code', path: '/tool/generator' },
|
||||
{ text: '系统日志', icon: 'history', path: '/monitor/log' }
|
||||
{ text: '系统日志', icon: 'history', path: '/monitor/log' },
|
||||
]
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user