ysc 1 жил өмнө
parent
commit
5f20d30bb3

+ 1 - 1
src/views/task/view.vue

@@ -265,7 +265,7 @@ export default {
       return callback();
     };
     let validateDescription = (rule, value, callback) => {
-      if (value === '') {
+      if (!value) {
         return callback(new Error('反馈描述不能为空'));
       }
       if (value.length < 5 || value.length > 500) {