Fix:3022 【商城小程序】填写申请资料点击返回后再次进入,填写内容未保留(修复为填写内容仍然保留)
This commit is contained in:
@@ -92,10 +92,12 @@ export default {
|
|||||||
const localData = uni.getStorageSync('investmentIndex')
|
const localData = uni.getStorageSync('investmentIndex')
|
||||||
if (localData) {
|
if (localData) {
|
||||||
this.businessApply = localData
|
this.businessApply = localData
|
||||||
|
this.addressText = localData.addressText
|
||||||
|
this.address = localData.address
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onUnload() {
|
onUnload() {
|
||||||
uni.setStorageSync('investmentIndex', this.businessApply)
|
uni.setStorageSync('investmentIndex', {...this.businessApply, addressText: this.addressText, address: this.address})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
init() {
|
init() {
|
||||||
|
|||||||
Reference in New Issue
Block a user