From cf1ee9d413456f37d1abc5d8ed23a9875aa15bb1 Mon Sep 17 00:00:00 2001 From: 张诺 <zhang_12370@163.com> Date: 星期一, 26 五月 2025 15:11:26 +0800 Subject: [PATCH] 销售管理>销售台站=》设置新增数据默认日期,添加子产品添加搜索逻辑更改为tree树形式,根据登录的账号匹配用户昵称默认选择当前用户昵称 --- src/components/SizeSelect/index.vue | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/SizeSelect/index.vue b/src/components/SizeSelect/index.vue index f3cf567..dddb58a 100644 --- a/src/components/SizeSelect/index.vue +++ b/src/components/SizeSelect/index.vue @@ -16,23 +16,23 @@ </template> <script setup> -import useAppStore from "@/store/modules/app"; +import useAppStore from "@/store/modules/app" -const appStore = useAppStore(); -const size = computed(() => appStore.size); -const route = useRoute(); -const router = useRouter(); -const { proxy } = getCurrentInstance(); +const appStore = useAppStore() +const size = computed(() => appStore.size) +const route = useRoute() +const router = useRouter() +const { proxy } = getCurrentInstance() const sizeOptions = ref([ { label: "杈冨ぇ", value: "large" }, { label: "榛樿", value: "default" }, { label: "绋嶅皬", value: "small" }, -]); +]) function handleSetSize(size) { - proxy.$modal.loading("姝e湪璁剧疆甯冨眬澶у皬锛岃绋嶅��..."); - appStore.setSize(size); - setTimeout("window.location.reload()", 1000); + proxy.$modal.loading("姝e湪璁剧疆甯冨眬澶у皬锛岃绋嶅��...") + appStore.setSize(size) + setTimeout("window.location.reload()", 1000) } </script> -- Gitblit v1.9.3