From 967edf1a572806d37e9bb29640cfb52c0765dfc1 Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Sun, 8 May 2022 03:57:43 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=A3=20=E9=87=8D=E6=9E=84=E5=BA=95?= =?UTF-8?q?=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kicc-ui/package.json | 2 +- .../Menu/src/components/BasicSubMenuItem.vue | 6 +++--- kicc-ui/src/hooks/setting/index.ts | 2 +- kicc-ui/src/hooks/web/usePermission.ts | 2 +- kicc-ui/src/locales/lang/en/sys.ts | 4 ++-- kicc-ui/src/locales/lang/zh-CN/sys.ts | 2 +- kicc-ui/src/utils/env.ts | 2 +- .../views/dashboard/workbench/components/data.ts | 16 ++++++++-------- kicc-ui/src/views/system/client/index.vue | 2 +- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/kicc-ui/package.json b/kicc-ui/package.json index de3a284b..36b4691d 100644 --- a/kicc-ui/package.json +++ b/kicc-ui/package.json @@ -19,7 +19,7 @@ "log": "conventional-changelog -p angular -i CHANGELOG.md -s", "delete:lib": "rimraf node_modules", "delete:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite", - "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix", + "lint:eslint": "eslint --cache --max-warnings 0 \"src/**/*.{vue,ts,tsx}\" --fix", "gen:icon": "esno ./build/generate/icon/index.ts" }, "dependencies": { diff --git a/kicc-ui/src/components/Menu/src/components/BasicSubMenuItem.vue b/kicc-ui/src/components/Menu/src/components/BasicSubMenuItem.vue index 6f4ffe47..1341896b 100644 --- a/kicc-ui/src/components/Menu/src/components/BasicSubMenuItem.vue +++ b/kicc-ui/src/components/Menu/src/components/BasicSubMenuItem.vue @@ -1,5 +1,5 @@ diff --git a/kicc-ui/src/hooks/setting/index.ts b/kicc-ui/src/hooks/setting/index.ts index a8c36a16..47e77e70 100644 --- a/kicc-ui/src/hooks/setting/index.ts +++ b/kicc-ui/src/hooks/setting/index.ts @@ -22,7 +22,7 @@ export const useGlobSetting = (): Readonly => { } = getAppEnvConfig(); if (!/[a-zA-Z\_]*/.test(VITE_GLOB_APP_SHORT_NAME)) { - warn(`VITE_GLOB_APP_SHORT_NAME Variables can only be characters/underscores, please modify in the environment variables and re-running.`); + warn('VITE_GLOB_APP_SHORT_NAME Variables can only be characters/underscores, please modify in the environment variables and re-running.'); } // 采取全局配置 diff --git a/kicc-ui/src/hooks/web/usePermission.ts b/kicc-ui/src/hooks/web/usePermission.ts index 8b383ce3..01f0dab5 100644 --- a/kicc-ui/src/hooks/web/usePermission.ts +++ b/kicc-ui/src/hooks/web/usePermission.ts @@ -12,7 +12,7 @@ import { router, resetRouter } from '/@/router'; import { intersection } from 'lodash-es'; import { isArray } from '/@/utils/is'; import { useMultipleTabStore } from '/@/store/modules/multipleTab'; -import { useUserStoreWithOut } from "/@/store/modules/user"; +import { useUserStoreWithOut } from '/@/store/modules/user'; // 用户权限相关操作 export function usePermission() { diff --git a/kicc-ui/src/locales/lang/en/sys.ts b/kicc-ui/src/locales/lang/en/sys.ts index 143465d2..77455713 100644 --- a/kicc-ui/src/locales/lang/en/sys.ts +++ b/kicc-ui/src/locales/lang/en/sys.ts @@ -52,7 +52,7 @@ export default { exception: { backLogin: 'Back Login', backHome: 'Back Home', - subTitle403: "Sorry, you don't have access to this page.", + subTitle403: 'Sorry, you don\'t have access to this page.', subTitle404: 'Sorry, the page you visited does not exist.', subTitle500: 'Sorry, the server is reporting an error.', noDataTitle: 'No data on the current page.', @@ -78,7 +78,7 @@ export default { signInTitle: 'Kanglai Bio-Intelligent Cold Chain Platform', signInDesc: 'Focus on the intelligent cold chain service of the Internet of Things monitoring specimen box in the medical industry, and strive to become the best intelligent cold chain Internet of Things platform for the medical industry in China', policy: 'I agree to the xxx Privacy Policy', - scanSign: `scanning the code to complete the login`, + scanSign: 'scanning the code to complete the login', loginButton: 'Sign in', registerButton: 'Sign up', diff --git a/kicc-ui/src/locales/lang/zh-CN/sys.ts b/kicc-ui/src/locales/lang/zh-CN/sys.ts index b249ec25..62650911 100644 --- a/kicc-ui/src/locales/lang/zh-CN/sys.ts +++ b/kicc-ui/src/locales/lang/zh-CN/sys.ts @@ -73,7 +73,7 @@ export default { signInTitle: '康来生物智慧冷链物联网平台', signInDesc: '专注于医疗行业的物联网监控标本箱智慧冷链服务,努力做成中国最好的医疗行业智慧冷链物联网平台', policy: '我同意xxx隐私政策', - scanSign: `扫码后点击"确认",即可完成登录`, + scanSign: '扫码后点击"确认",即可完成登录', loginButton: '登录', registerButton: '注册', diff --git a/kicc-ui/src/utils/env.ts b/kicc-ui/src/utils/env.ts index d358f600..e090c29d 100644 --- a/kicc-ui/src/utils/env.ts +++ b/kicc-ui/src/utils/env.ts @@ -41,7 +41,7 @@ export function getAppEnvConfig() { if (!/^[a-zA-Z\_]*$/.test(VITE_GLOB_APP_SHORT_NAME)) { warn( - `VITE_GLOB_APP_SHORT_NAME Variables can only be characters/underscores, please modify in the environment variables and re-running.` + 'VITE_GLOB_APP_SHORT_NAME Variables can only be characters/underscores, please modify in the environment variables and re-running.' ); } diff --git a/kicc-ui/src/views/dashboard/workbench/components/data.ts b/kicc-ui/src/views/dashboard/workbench/components/data.ts index c7172c3c..d22ed36c 100644 --- a/kicc-ui/src/views/dashboard/workbench/components/data.ts +++ b/kicc-ui/src/views/dashboard/workbench/components/data.ts @@ -58,49 +58,49 @@ export const dynamicInfoItems: DynamicInfoItem[] = [ avatar: 'dynamic-avatar-1|svg', name: '威廉', date: '刚刚', - desc: `在 开源组 创建了项目 Vue`, + desc: '在 开源组 创建了项目 Vue', }, { avatar: 'dynamic-avatar-2|svg', name: '艾文', date: '1个小时前', - desc: `关注了 威廉 `, + desc: '关注了 威廉 ', }, { avatar: 'dynamic-avatar-3|svg', name: '克里斯', date: '1天前', - desc: `发布了 个人动态 `, + desc: '发布了 个人动态 ', }, { avatar: 'dynamic-avatar-4|svg', name: 'Vben', date: '2天前', - desc: `发表文章 如何编写一个Vite插件 `, + desc: '发表文章 如何编写一个Vite插件 ', }, { avatar: 'dynamic-avatar-5|svg', name: '皮特', date: '3天前', - desc: `回复了 杰克 的问题 如何进行项目优化?`, + desc: '回复了 杰克 的问题 如何进行项目优化?', }, { avatar: 'dynamic-avatar-6|svg', name: '杰克', date: '1周前', - desc: `关闭了问题 如何运行项目 `, + desc: '关闭了问题 如何运行项目 ', }, { avatar: 'dynamic-avatar-1|svg', name: '威廉', date: '1周前', - desc: `发布了 个人动态 `, + desc: '发布了 个人动态 ', }, { avatar: 'dynamic-avatar-1|svg', name: '威廉', date: '2021-04-01 20:00', - desc: `推送了代码到 Github`, + desc: '推送了代码到 Github', }, ]; diff --git a/kicc-ui/src/views/system/client/index.vue b/kicc-ui/src/views/system/client/index.vue index 3b0181a8..17586a8f 100644 --- a/kicc-ui/src/views/system/client/index.vue +++ b/kicc-ui/src/views/system/client/index.vue @@ -27,7 +27,7 @@ /> - +