fix: 修复 NPS 组件状态共享的问题

- 脱离 hooks,避免共享一个状态
This commit is contained in:
Huangzhe
2025-03-18 17:11:24 +08:00
parent ad1455fd73
commit 7372bbc17e
3 changed files with 6 additions and 7 deletions

View File

@@ -16,8 +16,8 @@
<script setup>
import { ref, watch } from 'vue';
import { value as model } from '@/views/Design/components/Questions/hooks/useNPSHooks';
const model = defineModel('model', -1);
const rateItem = ref([
{
label: 1,