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.
59 lines
1.2 KiB
59 lines
1.2 KiB
2 years ago
|
<template>
|
||
|
<div id="app">
|
||
|
<router-view />
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
name: "App",
|
||
|
metaInfo() {
|
||
|
return {
|
||
|
title:
|
||
|
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;
|
||
|
},
|
||
|
};
|
||
|
},
|
||
|
mounted() {
|
||
|
setTimeout(async () => {
|
||
|
let Authentication = await this.$api.login.frimLogin();
|
||
|
localStorage.setItem(
|
||
|
"Authentication",
|
||
|
Authentication.data.result.userToken
|
||
|
);
|
||
|
}, 25200000);
|
||
|
//! 冒陈-permission request
|
||
|
/*
|
||
|
/static/
|
||
|
/usr/share/nginx/html/ggfw
|
||
|
|
||
|
sudo mv ggfw.zip /usr/share/nginx/html/ggfw 在 MSSM-Dev 文件夹下 移动压缩包到 ggfw文件夹下
|
||
|
|
||
|
cd /usr/share/nginx/html/ggfw 移动到文件夹下
|
||
|
|
||
|
unzip ggfw.zip -d . 解压
|
||
|
|
||
|
rm ./ggfw.zip 删除当前目录下的压缩包 弹出确定删除 打 y 并回车
|
||
|
|
||
|
*/
|
||
|
/*
|
||
|
|
||
|
|
||
|
*/
|
||
|
},
|
||
|
};
|
||
|
</script>
|
||
|
<style>
|
||
|
::-webkit-scrollbar {
|
||
|
width: 0 !important;
|
||
|
}
|
||
|
::-webkit-scrollbar {
|
||
|
width: 0 !important;height: 0;
|
||
|
}
|
||
|
</style>
|