From b001d9e08ab15f4d4d30e9e38fdf41e907ca746b Mon Sep 17 00:00:00 2001 From: "du.meimei" Date: Wed, 5 Mar 2025 19:27:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=89=93=E5=88=86bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/modules/common.ts | 56 ------------ .../Design/components/Questions/Rate.vue | 91 +------------------ .../components/Questions/RateCharacter.vue | 91 +++++++++++++++++++ 3 files changed, 95 insertions(+), 143 deletions(-) create mode 100644 src/views/Design/components/Questions/RateCharacter.vue diff --git a/src/stores/modules/common.ts b/src/stores/modules/common.ts index 536b5bb..659fadc 100644 --- a/src/stores/modules/common.ts +++ b/src/stores/modules/common.ts @@ -779,62 +779,6 @@ export const useCommonStore = defineStore('common', { }, disable_option_update: null, cascade: [] - }, - { - option: '

选项3

', - id: '1049108', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 3, - list_id: 74455, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0.0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: null, - binding_goods_id: '' - }, - disable_option_update: null, - cascade: [] - }, - { - option: '

选项4

', - id: '1049171', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 4, - list_id: 74455, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0.0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: null, - binding_goods_id: '' - }, - disable_option_update: null, - cascade: [] } ] ], diff --git a/src/views/Design/components/Questions/Rate.vue b/src/views/Design/components/Questions/Rate.vue index 480ab3d..fae1b52 100644 --- a/src/views/Design/components/Questions/Rate.vue +++ b/src/views/Design/components/Questions/Rate.vue @@ -22,17 +22,7 @@ class="van-field" v-html="item.option" > - + @@ -42,54 +32,11 @@ diff --git a/src/views/Design/components/Questions/RateCharacter.vue b/src/views/Design/components/Questions/RateCharacter.vue new file mode 100644 index 0000000..5d1ad35 --- /dev/null +++ b/src/views/Design/components/Questions/RateCharacter.vue @@ -0,0 +1,91 @@ + + + + +