From af14f26096ff0a5170ad6e018c9fe81ef49adfe5 Mon Sep 17 00:00:00 2001 From: zc <425734130@qq.com> Date: Mon, 25 Aug 2025 22:58:54 +0800 Subject: [PATCH] feat: cache --- src/auto-import.d.ts | 8 +-- .../supplier/xsWhitelist/category-config.vue | 28 +++++++++ src/views/supplier/xsWhitelist/index.vue | 58 ++++++++++--------- src/views/supplier/xsWhitelist/use-method.ts | 24 +++++--- 4 files changed, 78 insertions(+), 40 deletions(-) create mode 100644 src/views/supplier/xsWhitelist/category-config.vue diff --git a/src/auto-import.d.ts b/src/auto-import.d.ts index 056c8a8..0e1a32f 100644 --- a/src/auto-import.d.ts +++ b/src/auto-import.d.ts @@ -7,7 +7,7 @@ export {} declare global { const EffectScope: typeof import('vue')['EffectScope'] - const api: typeof import('../../../../../src/api/index')['api'] + const api: typeof import('src/api/index')['api'] const computed: typeof import('vue')['computed'] const createApp: typeof import('vue')['createApp'] const customRef: typeof import('vue')['customRef'] @@ -18,8 +18,8 @@ declare global { const getCurrentScope: typeof import('vue')['getCurrentScope'] const getCurrentWatcher: typeof import('vue')['getCurrentWatcher'] const h: typeof import('vue')['h'] - const handleInit: typeof import('../../../../../src/utils/page/index')['handleInit'] - const handleMessageBox: typeof import('../../../../../src/utils/page/index')['handleMessageBox'] + const handleInit: typeof import('src/utils/page/index')['handleInit'] + const handleMessageBox: typeof import('src/utils/page/index')['handleMessageBox'] const inject: typeof import('vue')['inject'] const isProxy: typeof import('vue')['isProxy'] const isReactive: typeof import('vue')['isReactive'] @@ -44,7 +44,7 @@ declare global { const onUnmounted: typeof import('vue')['onUnmounted'] const onUpdated: typeof import('vue')['onUpdated'] const onWatcherCleanup: typeof import('vue')['onWatcherCleanup'] - const pageConfig: typeof import('../../../../../src/utils/page/config')['pageConfig'] + const pageConfig: typeof import('src/utils/page/config')['pageConfig'] const provide: typeof import('vue')['provide'] const reactive: typeof import('vue')['reactive'] const readonly: typeof import('vue')['readonly'] diff --git a/src/views/supplier/xsWhitelist/category-config.vue b/src/views/supplier/xsWhitelist/category-config.vue new file mode 100644 index 0000000..649fc8a --- /dev/null +++ b/src/views/supplier/xsWhitelist/category-config.vue @@ -0,0 +1,28 @@ + + + diff --git a/src/views/supplier/xsWhitelist/index.vue b/src/views/supplier/xsWhitelist/index.vue index e62f506..40006e0 100644 --- a/src/views/supplier/xsWhitelist/index.vue +++ b/src/views/supplier/xsWhitelist/index.vue @@ -19,47 +19,45 @@

SKU信息:

-
+
{{ item.typeName }}:
- {{ + {{ child.name }}
- - 新增 + + + 新增
+ +

价格配置:

+
+ + +
-

SKU信息:

-
-
- {{ item.name }} -
-
- -

- 原价: -

-

- 售价: -

-
-
+

SKU信息:

@@ -67,14 +65,16 @@