问题修复

This commit is contained in:
”chenxuelian“
2023-02-01 21:56:58 +08:00
parent 22d4ab414a
commit 7b7a0126d2
4 changed files with 42 additions and 7 deletions

View File

@@ -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);//执行上个页面的方法
// };
// }
// })
}
}