@@ -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 = "添加图片管理";
/** 修改按钮操作 */