This commit is contained in:
zmj 2024-05-07 22:29:30 +08:00
parent c3c658671b
commit 0c6e085b65
3 changed files with 13 additions and 4 deletions

View File

@ -903,7 +903,6 @@
if (this.loadEndFlag) {
this.getUserInfo();
this.codelist();
console.log('wcnmonshow')
} else {
this.isNewUser()
console.log('1111111111')
@ -1404,7 +1403,6 @@
this.userid = res.data.uid
this.userInfoData = res.data;
this.$store.commit('SET_USERINFO', res.data);
console.log('resdata', res.data)
this.isNewUser(res.data)
this.merchantData.phone = res.data.phone;
if (res.data.mer_info.is_company == 0) !this.merchantData.company_name ? this.merchantData

View File

@ -445,9 +445,13 @@
Modal('提交成功', '点击确定,前往商品列表页面').then(() => {
if (this.import == 1) {
uni.$emit('importAttrValueOK', this.setFormData.import_id);
uni.navigateBack();
uni.redirectTo({
url: `/pages/product/list/index?mer_id=${this.mer_id}&type=6`
})
} else {
uni.navigateBack();
uni.redirectTo({
url: `/pages/product/list/index?mer_id=${this.mer_id}&type=6`
})
}
}).catch(() => {
uni.navigateBack();

View File

@ -333,9 +333,16 @@
this.loading = false
this.loaded = false
this.productList = []
this.getProductTitle()
this.getList(this.mer_id, false);
uni.stopPullDownRefresh()
},
onBackPress: function(e) {
uni.switchTab({
url: '/pages/index/index'
})
return true
},
onReachBottom() {
if (this.status == 'nomore') return;
this.status = 'loading';