diff --git a/manager/src/views/member/list/index.vue b/manager/src/views/member/list/index.vue index fdffb632..d6a2ba21 100644 --- a/manager/src/views/member/list/index.vue +++ b/manager/src/views/member/list/index.vue @@ -324,7 +324,7 @@ export default { // 已选择用户数据 selectedList: { type: null, - default: "", + default: [], }, }, watch: { @@ -344,6 +344,7 @@ export default { callback(val, index) { this.$set(val, "___selected", !val.___selected); console.log(val.___selected); + console.log(this.selectMember); let findUser = this.selectMember.find((item) => { return item.id == val.id; }); diff --git a/seller/src/views/goods/goods-seller/goodsOperation.vue b/seller/src/views/goods/goods-seller/goodsOperation.vue index 6c4cfca8..bc67ca79 100644 --- a/seller/src/views/goods/goods-seller/goodsOperation.vue +++ b/seller/src/views/goods/goods-seller/goodsOperation.vue @@ -137,7 +137,7 @@ -
+ + + @@ -371,7 +372,7 @@

@@ -874,12 +875,12 @@ export default { editSkuPicture(row) { console.log(row); if (row.images && row.images.length > 0) { - this.previewPicture = row.images[0].url; + this.previewPicture = row.images[0]; } this.selectedSku = row; this.showSkuPicture = true; }, - handleView(url) { + handleView (url) { this.previewPicture = url; this.visible = true; }, @@ -1017,7 +1018,6 @@ export default { ...this.baseInfoForm, ...response.result, }; - // console.warn(this.baseInfoForm); this.baseInfoForm.release = "true"; this.baseInfoForm.recommend = this.baseInfoForm.recommend @@ -1184,10 +1184,7 @@ export default { }, // 编辑规格值 async skuValueChange(val, index, item) { - /** 更新skuInfo数据 */ - // let _arr = cloneObj(item); - // this.$set(item, "name", _arr.name); - // this.$set(this.skuInfo, index, _arr); + /** * 渲染规格详细表格 */