fix(member page): 调整取消和退出按钮的显示逻辑
将判断条件从"不等于0"改为"等于1",匹配配置项的真实生效逻辑
This commit is contained in:
@@ -97,10 +97,10 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
isShowCancelButton() {
|
isShowCancelButton() {
|
||||||
return this.diyData?.global?.isShowCancelButton?.[`${this.getAppType()}`] !== 0
|
return this.diyData?.global?.isShowCancelButton?.[`${this.getAppType()}`] === 1
|
||||||
},
|
},
|
||||||
isShowLogoutButton() {
|
isShowLogoutButton() {
|
||||||
return this.diyData?.global?.isShowLogoutButton?.[`${this.getAppType()}`] !== 0
|
return this.diyData?.global?.isShowLogoutButton?.[`${this.getAppType()}`] === 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|||||||
Reference in New Issue
Block a user