111
This commit is contained in:
@@ -145,6 +145,7 @@
|
||||
this.page.userSid = getApp().globalData.sid
|
||||
let _this = this
|
||||
_this.$api.saveRealInfo(this.page).then((resp) => {
|
||||
uni.$emit("real-info")
|
||||
uni.navigateBack()
|
||||
}).catch(e => {
|
||||
console.log(e);
|
||||
|
||||
@@ -52,7 +52,15 @@
|
||||
},
|
||||
onLoad(options) {
|
||||
this.request()
|
||||
// this.$refs.pageView.setLoadState(2)
|
||||
uni.$on("real-info", (e) => {
|
||||
this.$nextTick(() => {
|
||||
this.$refs.pageView.setLoadState(0)
|
||||
})
|
||||
this.request();
|
||||
})
|
||||
},
|
||||
onUnload() {
|
||||
uni.$off('real-info');
|
||||
},
|
||||
methods: {
|
||||
// 获取数据
|
||||
|
||||
Reference in New Issue
Block a user