济菏高速业务端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.2 KiB

1 year ago
<!--
* @Author: Praise-Sun 18053314396@163.com
* @Date: 2022-09-05 09:35:35
* @LastEditors: Praise-Sun 18053314396@163.com
* @LastEditTime: 2022-09-14 11:37:43
* @FilePath: \tunnel-ui\src\App.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
1 year ago
<template>
<div id="app">
<router-view />
<websocket />
1 year ago
<websocket_phone />
1 year ago
</div>
</template>
<script>
1 year ago
import websocket from "@/views/websocket";
import websocket_phone from "@/views/websocket_phone";
export default {
name: "App",
data() {
return {
path: this.$route.path,
};
},
1 year ago
components: {
1 year ago
websocket,
websocket_phone
},
watch: {
$route(to, from) {
this.path = this.$route.path;
},
},
metaInfo() {
return {
// ${process.env.VUE_APP_TITLE}
title:
this.$store.state.settings.dynamicTitle &&
this.$store.state.settings.title,
titleTemplate: (title) => {
return title
? `${title} - ${systemConfig.title(systemConfig.systemType)}`
: process.env.VUE_APP_TITLE;
},
};
1 year ago
},
1 year ago
};
1 year ago
</script>