This commit is contained in:
jia 2023-10-31 20:42:34 +08:00
commit 6c7f2902c5

View File

@ -77,7 +77,7 @@
data() { data() {
return { return {
goodsData: [{ goodsData: [{
name: '', name: '商品添加',
type: 1, type: 1,
src: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/mingcheng.png' src: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/mingcheng.png'
}, },
@ -104,7 +104,8 @@
}, },
onLoad(e) { onLoad(e) {
this.mer_id = e.mer_id this.mer_id = e.mer_id
this.stype = e.stype // this.stype = e.stype
this.stype = 2
if (this.stype == 1) { if (this.stype == 1) {
return this.goodsData[0].name = '商品添加' return this.goodsData[0].name = '商品添加'
} }