实现动态浏览器标签
This commit is contained in:
parent
0af2a8b43b
commit
98be671392
@ -5,6 +5,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Cookies from "js-cookie";
|
||||
export default {
|
||||
name: "App",
|
||||
metaInfo() {
|
||||
@ -13,7 +14,7 @@ export default {
|
||||
this.$store.state.settings.dynamicTitle &&
|
||||
this.$store.state.settings.title,
|
||||
titleTemplate: (title) => {
|
||||
return ""; //title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
|
||||
return Cookies.get("systemName") || ""; //title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
|
||||
},
|
||||
};
|
||||
},
|
||||
@ -36,7 +37,8 @@ export default {
|
||||
</script>
|
||||
<style lang="scss">
|
||||
@import "@/theme/index.scss";
|
||||
.el-picker-panel__sidebar, .el-picker-panel__footer {
|
||||
.el-picker-panel__sidebar,
|
||||
.el-picker-panel__footer {
|
||||
@include font_color(buttonFontColor);
|
||||
@include background_color(componentBackgroundColor);
|
||||
}
|
||||
@ -44,7 +46,8 @@ export default {
|
||||
.el-message-box {
|
||||
@include background_bg(dialogBackgroundImage);
|
||||
@include font_color(colorPrimary);
|
||||
.el-message-box__header, .el-message-box__content {
|
||||
.el-message-box__header,
|
||||
.el-message-box__content {
|
||||
@include font_color(colorPrimary);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user