修改字段的显示

This commit is contained in:
wangxiaowei 2024-08-23 18:02:00 +08:00
parent 14ba526b20
commit 43c9ae5b33

@ -80,7 +80,7 @@
if(success) {
editLocaShopInfo({id:this.lstore_id, header_image: data}).then((res) => {
if (res.code == 1) {
this.info.header_image = data
this.info.shopLogo = data
uni.showToast({icon:'none', title: '上传成功'})
}
})
@ -97,7 +97,7 @@
changeNameConfirm(e) {
editLocaShopInfo({id:this.lstore_id, store_name: e.detail.value.nickname}).then((res) => {
if (res.code == 1) {
this.info.store_nickname = e.detail.value.nickname
this.info.shopName = e.detail.value.nickname
this.showNickName = false
uni.showToast({icon:'none', title: '上传成功'})
}