shish 4 лет назад
Родитель
Сommit
1d34bce805
2 измененных файлов с 0 добавлено и 4 удалено
  1. 0 1
      ghsApp/src/admin/item/detail.vue
  2. 0 3
      ghsApp/src/admin/item/list.vue

+ 0 - 1
ghsApp/src/admin/item/detail.vue

@@ -12,7 +12,6 @@
             name="name"
             name="name"
             placeholder="请填写名称"
             placeholder="请填写名称"
             @input="fillName($event)"
             @input="fillName($event)"
-            @focus="form.name=''"
             maxlength="50"
             maxlength="50"
             type="text"
             type="text"
           />
           />

+ 0 - 3
ghsApp/src/admin/item/list.vue

@@ -79,9 +79,6 @@ export default {
 		...mapGetters(["getMyShopInfo","getLoginInfo"]),
 		...mapGetters(["getMyShopInfo","getLoginInfo"]),
 	},
 	},
 	onShow(){
 	onShow(){
-		this.shopId = this.getMyShopInfo.id;
-		let type = '';
-		this.initData({ type, shopId: this.shopId,status:0});
 	},
 	},
 	onLoad() {
 	onLoad() {
 		this.shopId = this.getMyShopInfo.id;
 		this.shopId = this.getMyShopInfo.id;