diff --git a/src/views/Design/components/Questions/Rate.vue b/src/views/Design/components/Questions/Rate.vue
index 201ee0e..b31d9bd 100644
--- a/src/views/Design/components/Questions/Rate.vue
+++ b/src/views/Design/components/Questions/Rate.vue
@@ -34,7 +34,7 @@
@@ -53,6 +53,7 @@
import { defineModel, ref } from 'vue';
import RateCharacter from './RateCharacter.vue';
+const value = defineModel('value', { default: -1, type: Number });
const isPreview = defineModel('isPreview', { default: false, type: Boolean });
defineProps({
active: {
diff --git a/src/views/Design/components/Questions/RateCharacter.vue b/src/views/Design/components/Questions/RateCharacter.vue
index 24c52e5..a836b02 100644
--- a/src/views/Design/components/Questions/RateCharacter.vue
+++ b/src/views/Design/components/Questions/RateCharacter.vue
@@ -1,6 +1,6 @@
-
+
-
import { ref, watch } from 'vue';
-const model = defineModel('model', -1);
+const model = defineModel('model', { type: Number, required: true });
const rateItem = ref([
{
label: 1,
@@ -41,11 +41,6 @@ const rateItem = ref([
}
]);
-const test = ref(1);
-
-setTimeout(() => {
- test.value = 2;
-}, 300);
const config = defineModel('config', {
type: Object,
required: true