diff --git a/src/assets/custom.scss b/src/assets/custom.scss
index 622c556..890e904 100644
--- a/src/assets/custom.scss
+++ b/src/assets/custom.scss
@@ -64,55 +64,55 @@
color: #AAAAAA;
}
-:deep(.ant-btn-default) {
- font-family: "Noto Sans SC", serif;
- font-size: 14px;
- color: #FFFFFF;
- background-color: rgba(58,98,203,0.8);
- box-shadow: inset 0 0 20px 2px #3A62CB;
- height: 36px;
- border-radius: 6px;
- border: none;
-}
+//:deep(.ant-btn-default) {
+// font-family: "Noto Sans SC", serif;
+// font-size: 14px;
+// color: #FFFFFF;
+// background-color: rgba(58,98,203,0.8);
+// box-shadow: inset 0 0 20px 2px #3A62CB;
+// height: 36px;
+// border-radius: 6px;
+// border: none;
+//}
+//
+//:deep(.ant-btn-default:hover) {
+// font-family: "Noto Sans SC", serif;
+// font-size: 14px;
+// color: #FFFFFF;
+// background-color: rgba(58,98,203,0.8);
+// box-shadow: inset 0 0 20px 2px #006CC6;
+// height: 36px;
+// border-radius: 6px;
+// border: none;
+//}
+//
+//:deep(.ant-btn-default:disabled),
+//:deep(.ant-btn-default:disabled:hover),
+//:deep(.ant-btn-default:disabled svg) {
+// color: #AAAAAA;
+//}
-:deep(.ant-btn-default:hover) {
- font-family: "Noto Sans SC", serif;
- font-size: 14px;
- color: #FFFFFF;
- background-color: rgba(58,98,203,0.8);
- box-shadow: inset 0 0 20px 2px #006CC6;
- height: 36px;
- border-radius: 6px;
- border: none;
-}
-
-:deep(.ant-btn-default:disabled),
-:deep(.ant-btn-default:disabled:hover),
-:deep(.ant-btn-default:disabled svg) {
- color: #AAAAAA;
-}
-
-:deep(.ant-btn-primary) {
- font-family: "Noto Sans SC", serif;
- font-size: 14px;
- color: #FFFFFF;
- background-color: #3793d4;
- box-shadow: inset 0 0 20px 2px #006CC6;
- height: 36px;
- border-radius: 6px;
- border: none;
-}
-
-:deep(.ant-btn-primary:hover) {
- font-family: "Noto Sans SC", serif;
- font-size: 14px;
- color: #FFFFFF;
- background-color: rgba(69,175,223,0.8);
- box-shadow: inset 0 0 20px 2px #006CC6;
- height: 36px;
- border-radius: 6px;
- border: none;
-}
+//:deep(.ant-btn-primary) {
+// font-family: "Noto Sans SC", serif;
+// font-size: 14px;
+// color: #FFFFFF;
+// background-color: #3793d4;
+// box-shadow: inset 0 0 20px 2px #006CC6;
+// height: 36px;
+// border-radius: 6px;
+// border: none;
+//}
+//
+//:deep(.ant-btn-primary:hover) {
+// font-family: "Noto Sans SC", serif;
+// font-size: 14px;
+// color: #FFFFFF;
+// background-color: rgba(69,175,223,0.8);
+// box-shadow: inset 0 0 20px 2px #006CC6;
+// height: 36px;
+// border-radius: 6px;
+// border: none;
+//}
:deep(.vben-basic-table) {
background: transparent;
@@ -561,3 +561,4 @@
:deep(.ant-descriptions-item-label) {
width: 120px;
}
+
diff --git a/src/components/Modal/src/components/Modal.tsx b/src/components/Modal/src/components/Modal.tsx
index 3b3a50d..67f6992 100644
--- a/src/components/Modal/src/components/Modal.tsx
+++ b/src/components/Modal/src/components/Modal.tsx
@@ -25,7 +25,7 @@ export default defineComponent({
return () => {
const propsData = { ...unref(attrs), ...props, onCancel } as Recordable;
- return {extendSlots(slots)};
+ return {extendSlots(slots)};
};
},
});
diff --git a/src/router/routes/basic.ts b/src/router/routes/basic.ts
index f03b442..f2f51f4 100644
--- a/src/router/routes/basic.ts
+++ b/src/router/routes/basic.ts
@@ -1,5 +1,4 @@
import type { AppRouteRecordRaw } from '/@/router/types';
-import { t } from '/@/hooks/web/useI18n';
import {
REDIRECT_NAME,
LAYOUT,
diff --git a/src/router/routes/embedded/dashboard.ts b/src/router/routes/embedded/dashboard.ts
index e032665..f6c71c3 100644
--- a/src/router/routes/embedded/dashboard.ts
+++ b/src/router/routes/embedded/dashboard.ts
@@ -1,7 +1,6 @@
-import type { AppRouteModule } from '/src/router/types';
+import type { AppRouteModule } from '@/router/types';
-import { LAYOUT } from '/src/router/constant';
-import { t } from '/src/hooks/web/useI18n';
+import { t } from '@/hooks/web/useI18n';
const about: AppRouteModule = {
path: '/dashboard',
diff --git a/src/router/routes/index.ts b/src/router/routes/index.ts
index 91ad7e3..a4ebfab 100644
--- a/src/router/routes/index.ts
+++ b/src/router/routes/index.ts
@@ -3,7 +3,6 @@ import type { AppRouteRecordRaw, AppRouteModule } from '/@/router/types';
import { PAGE_NOT_FOUND_ROUTE, REDIRECT_ROUTE } from '/@/router/routes/basic';
import { PageEnum } from '/@/enums/pageEnum';
-import { t } from '/@/hooks/web/useI18n';
// import.meta.glob() 直接引入所有的模块 Vite 独有的功能
const modules = import.meta.glob('./modules/**/*.ts', { eager: true });
diff --git a/src/views/data/device/drawer.vue b/src/views/data/device/drawer.vue
index aefe1fe..6ff1b47 100644
--- a/src/views/data/device/drawer.vue
+++ b/src/views/data/device/drawer.vue
@@ -56,7 +56,7 @@
await action(data);
closeDrawer();
emit('success');
- } finally {
+ } catch {} finally {
setDrawerProps({ confirmLoading: false });
}
}
diff --git a/src/views/data/task/drawer.vue b/src/views/data/task/drawer.vue
index 3f75981..facb8f9 100644
--- a/src/views/data/task/drawer.vue
+++ b/src/views/data/task/drawer.vue
@@ -12,10 +12,10 @@
- 新增
+ 新 增
OCR识别
-
+
@@ -44,7 +44,7 @@
-
+
-
-
+
diff --git a/src/views/system/log/index.vue b/src/views/system/log/index.vue
index 2a285a2..63f75d9 100644
--- a/src/views/system/log/index.vue
+++ b/src/views/system/log/index.vue
@@ -8,24 +8,15 @@