Browse Source

图片状态默认关

彭宇 1 năm trước cách đây
mục cha
commit
7f29657c92
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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 = "添加图片管理";
     },
     /** 修改按钮操作 */