提交 041e4a40 编写于 作者: M mehaotian

fix(stat): 修复 tabbar 页面不能正常获取标题的bug

上级 adcfdfd2
......@@ -638,7 +638,7 @@ class Util {
}
this._sendRequest(optionsData);
}
_sendRequest(optionsData){
_sendRequest(optionsData) {
uni.request({
url: STAT_URL,
method: 'POST',
......@@ -775,15 +775,17 @@ class Stat extends Util {
show(self) {
this.self = self;
if (!getPageTypes(self)) {
this._pageShow(self);
} else {
this._applicationShow(self);
}
}
ready(self) {
this.self = self;
if (getPageTypes(self)) {
this._pageShow(self);
}
// this.self = self;
// if (getPageTypes(self)) {
// this._pageShow(self);
// }
}
hide(self) {
this.self = self;
......
......@@ -373,7 +373,7 @@ class Util {
}
this._sendRequest(optionsData)
}
_sendRequest(optionsData){
_sendRequest(optionsData) {
uni.request({
url: STAT_URL,
method: 'POST',
......@@ -509,16 +509,18 @@ class Stat extends Util {
show(self) {
this.self = self;
if (!getPageTypes(self)) {
if (getPageTypes(self)) {
this._pageShow(self);
} else {
this._applicationShow(self);
}
}
ready(self) {
this.self = self;
if (getPageTypes(self)) {
this._pageShow(self);
}
// this.self = self;
// if (getPageTypes(self)) {
// this._pageShow(self);
// }
}
hide(self) {
this.self = self;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册