submit
This commit is contained in:
parent
3d9a85083f
commit
d4b5e301cb
@ -21,7 +21,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
userInfo:uni.getStorageSync('userInfo'),
|
userInfo:uni.getStorageSync('userInfo'),
|
||||||
info: {},
|
info: {goodsInfo:{picUrl:'',goodsName:'',nickName:''}},
|
||||||
show: false,
|
show: false,
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -58,6 +58,8 @@ export default {
|
|||||||
const res = await getInfo(data)
|
const res = await getInfo(data)
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
|
}else {
|
||||||
|
this.$refs.toast.show({model:'warn',label:res.msg,wait:99999})
|
||||||
}
|
}
|
||||||
console.log(res, 'getData')
|
console.log(res, 'getData')
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user