@@ -321,12 +321,13 @@
close() {
this.skuPopupShow = false
+ this.tipShow = false
},
skuSuccess(data) {
this.tipData = data
this.close()
this.tipShow = true
- this.getList()
+ // this.pageList()
tipSecction() {
@@ -335,14 +336,13 @@
});
$http.post('/api/v1/mp/user/mine/prize/saveSku', this.tipData).then(res => {
uni.hideLoading();
- flag = false
if (res.code == 0) {
+ this.close()
this.pageList()
} else if (res.code == 1021) {
uni.$u.toast(res.msg);
}
}).catch(() => {
})