feat: setting 页面新增 是否显示footer的开关

This commit is contained in:
zuihou
2022-12-02 16:47:18 +08:00
parent 091ca1a4fe
commit d064f6285a
6 changed files with 14 additions and 2 deletions

View File

@ -149,6 +149,10 @@ export const useThemeStore = defineStore('theme-store', {
setFooterHeight(height: number) {
this.footer.height = height;
},
/** 设置底部是否显示 */
setFooterVisible(isVisible: boolean) {
this.footer.visible = isVisible;
},
/** 设置切换页面时是否过渡动画 */
setPageIsAnimate(animate: boolean) {
this.page.animate = animate;