jiangbiao 4 hónapja
szülő
commit
af41249412
1 módosított fájl, 6 hozzáadás és 1 törlés
  1. 6 1
      ui/src/views/pssr/aboveall/index.vue

+ 6 - 1
ui/src/views/pssr/aboveall/index.vue

@@ -367,7 +367,7 @@
       </el-form>
       <div slot="footer" class="dialog-footer">
         <el-button type="primary" @click="submitForm">确 定</el-button>
-        <el-button @click="cancel">取 消</el-button>
+        <el-button @click="modelCancel">取 消</el-button>
       </div>
     </el-dialog>
   </div>
@@ -590,6 +590,11 @@ export default {
       this.open = false;
       this.reset();
     },
+    // 取消按钮
+    modelCancel() {
+      this.model.open = false;
+      this.reset();
+    },
     // 表单重置
     reset() {
       this.form = {