Browse Source

图片状态默认关

彭宇 1 year ago
parent
commit
7f29657c92
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/my/jnbImg.vue

+ 3 - 1
src/views/my/jnbImg.vue

@@ -182,7 +182,8 @@ export default {
         imgType: null
       },
       // 表单参数
-      form: {},
+      form: {
+      },
       // 表单校验
       rules: {
         imgUrl: [
@@ -249,6 +250,7 @@ export default {
     handleAdd() {
       this.reset();
       this.open = true;
+      this.form.imgSwitch  =  "switch_off";
       this.title = "添加图片管理";
     },
     /** 修改按钮操作 */