Răsfoiți Sursa

脚本优化

shish 3 ani în urmă
părinte
comite
f829b4f538
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      ghsApp/src/admin/changePrice/list.vue
  2. 1 1
      ghsApp/src/admin/item/list.vue

+ 1 - 1
ghsApp/src/admin/changePrice/list.vue

@@ -113,7 +113,7 @@ export default {
 			let that = this
 			changeFrontHide({id:item.id,status:status}).then(res=>{
 				if(res.code == 1){
-					that.$refs[`productRef${item.id}`][0].frontHide = status
+					//that.$refs[`productRef${item.id}`][0].frontHide = status
 				}
 			})
 		},

+ 1 - 1
ghsApp/src/admin/item/list.vue

@@ -188,7 +188,7 @@ export default {
 			let that = this
 			changeFrontHide({id:item.id,status:status}).then(res=>{
 				if(res.code == 1){
-					that.$refs[`productRef${item.id}`][0].frontHide = status
+					//that.$refs[`productRef${item.id}`][0].frontHide = status
 				}
 			})
 		},