Merge pull request 'DJ' (#58) from DJ into dev

Reviewed-on: http://git.hchyun.com/feashow/pupil/pulls/58
This commit is contained in:
odjbin
2023-01-19 08:43:38 +00:00
8 changed files with 187 additions and 91 deletions

View File

@@ -156,10 +156,13 @@
}
},
onLoad(options) {
console.log(options)
if (options.index == 1) {
//我的发布点击修改回显数据
let publishFormList = JSON.parse(options.item)
this.fileList1 = publishFormList.images
this.needsPublishForm = publishFormList
if (options.index == 0) {
this.tabCurrent = 0
} else if (options.index == 2) {
} else if (options.index == 1) {
this.tabCurrent = 1
}
if (!uni.getStorageSync('token') || uni.getStorageSync('token').length === 0) {