diff --git a/pages_tool/member/index.vue b/pages_tool/member/index.vue index e051d5c..0eccc33 100644 --- a/pages_tool/member/index.vue +++ b/pages_tool/member/index.vue @@ -96,11 +96,14 @@ export default { minHeight: this.openBottomNav ? 'calc(100vh - 55px)' : '' }; }, + globalCfg() { + return this.diyData?.global; + }, isShowCancelButton() { - return this.diyData?.global?.isShowCancelButton?.[`${this.getAppType()}`] === 1 + return this.globalCfg?.isShowCancelButton?.[`${this.getAppType()}`] === 1 }, isShowLogoutButton() { - return this.diyData?.global?.isShowLogoutButton?.[`${this.getAppType()}`] === 1 + return this.globalCfg?.isShowLogoutButton?.[`${this.getAppType()}`] === 1 } }, onLoad() {