问题修复
This commit is contained in:
@@ -403,6 +403,14 @@
|
||||
apiService.submitIdeasAndNeeds(data).then(res => {
|
||||
this.$toast.success('提交成功')
|
||||
console.log('esf=', res);
|
||||
if(this.needsPublishForm.id) {
|
||||
uni.navigateTo({
|
||||
url: '../../packageMy/myRelease/myRelease?index=' + (this.tabCurrent + 1)
|
||||
})
|
||||
}
|
||||
this.tabCurrent = 0
|
||||
this.fileList1 = []
|
||||
this.needsPublishForm = {}
|
||||
// this.$toast.success(res.data.msg)
|
||||
}).catch(error => {
|
||||
this.$toast.warn(error)
|
||||
@@ -425,6 +433,17 @@
|
||||
failToLoad() {
|
||||
console.log('----------------false')
|
||||
this.$toast.warn('登录失败请重试')
|
||||
uni.navigateTo({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
// uni.navigateBack({
|
||||
// success: () => {
|
||||
// let page = getCurrentPages().pop();
|
||||
// if (page) {
|
||||
// page.onLoad(page.options);//执行上个页面的方法
|
||||
// };
|
||||
// }
|
||||
// })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user