Browse Source

first commit

tangning 1 year ago
parent
commit
e787f0d3bd
1 changed files with 10 additions and 10 deletions
  1. 10 10
      src/views/feedback/index.vue

+ 10 - 10
src/views/feedback/index.vue

@@ -142,20 +142,20 @@
     };
     await feedbackAdd(apiData);
     // showSuccessToast('提交成功');
-    myData.problemDesc = '';
+    myData.problemDesc = null;
     myData.problemDescImgs = [];
-    myData.solution = '';
+    myData.solution = null;
     myData.solutionImgs = [];
-    myData.hardwareOptionId = '';
-    myData.softwareOptionId = '';
-    myData.industryOptionId = '';
-    myData.nickName = '';
-    myData.phone = '';
-    myData.country = '';
-    myData.address = '';
+    myData.hardwareOptionId = null;
+    myData.softwareOptionId = null;
+    myData.industryOptionId = null;
+    myData.nickName = null;
+    myData.phone = null;
+    myData.country = null;
+    myData.address = null;
     myData.countries = [];
     myData.score = 0;
-    myData.scoreReason = '';
+    myData.scoreReason = null;
     router.push('/feedbacksuccess');
   }
   onMounted(async () => {