소스 검색

图片状态默认关

彭宇 1 년 전
부모
커밋
7f29657c92
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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 = "添加图片管理";
     },
     /** 修改按钮操作 */