add
This commit is contained in:
parent
c3c658671b
commit
0c6e085b65
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue