fix(member page): 调整取消和退出按钮的显示逻辑

将判断条件从"不等于0"改为"等于1",匹配配置项的真实生效逻辑
This commit is contained in:
2026-06-23 11:00:13 +08:00
parent f258987e0e
commit b0dad04b59

View File

@@ -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() {