优化用户基础信息提示

master
gongfuxiang 2023-09-11 16:29:54 +08:00
parent 1acff1f102
commit b296b9940e
1 changed files with 5 additions and 3 deletions

View File

@ -53,6 +53,7 @@
pages: [],
client: [],
interval_time: 0,
timer: null,
form_submit_disabled_status: false
};
},
@ -93,7 +94,7 @@
this.init_config(true);
//
if (this.pages.indexOf(type) != -1 && this.client.indexOf(this.application_client_type) != -1) {
if (!this.popup_status && this.pages.indexOf(type) != -1 && this.client.indexOf(this.application_client_type) != -1) {
//
var user = app.globalData.get_user_cache_info() || null;
//
@ -119,12 +120,13 @@
// 1
var self = this;
setTimeout(function() {
clearTimeout(this.timer);
this.timer = setTimeout(function() {
self.setData({
popup_status: status,
user: user
});
}, 1000);
}, 500);
}
},