fix: 底脚版权声明样式
This commit is contained in:
@@ -8,6 +8,8 @@ type AppStore = {
|
||||
appCode: string;
|
||||
/**应用版本 */
|
||||
appVersion: string;
|
||||
/**应用版权声明 */
|
||||
copyright: string;
|
||||
};
|
||||
|
||||
const useAppStore = defineStore('app', {
|
||||
@@ -15,6 +17,7 @@ const useAppStore = defineStore('app', {
|
||||
appName: import.meta.env.VITE_APP_NAME,
|
||||
appCode: import.meta.env.VITE_APP_CODE,
|
||||
appVersion: import.meta.env.VITE_APP_VERSION,
|
||||
copyright: 'Copyright ©2023 For AGrand 千通科技',
|
||||
}),
|
||||
actions: {
|
||||
/**设置网页标题 */
|
||||
@@ -25,6 +28,10 @@ const useAppStore = defineStore('app', {
|
||||
document.title = this.appName;
|
||||
}
|
||||
},
|
||||
/**设置版权声明 */
|
||||
setCopyright(text: string) {
|
||||
this.copyright = text;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user