Browse Source

前端新增仓房时又带出的默认信息

mengy 2 years ago
parent
commit
39243c77c0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/views/equipConfig/barnBasicInfo/index.vue

+ 3 - 0
src/views/equipConfig/barnBasicInfo/index.vue

@@ -186,6 +186,9 @@ export default {
186 186
       this.listQuery.page = v
187 187
       console.log(`当前页: ${v}`);
188 188
     },
189
+    resetForm(formName) {
190
+            this.$refs[formName].resetFields();
191
+          }
189 192
   }
190 193
 }
191 194
 </script>