前后端分目录
This commit is contained in:
85
h5-auth-manager/src/App.vue
Normal file
85
h5-auth-manager/src/App.vue
Normal file
@@ -0,0 +1,85 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
|
||||
<!-- <keep-alive include="history"> -->
|
||||
<router-view></router-view>
|
||||
<!-- </keep-alive> -->
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
// import {
|
||||
// fieldusing
|
||||
// } from '@/api/index.js'
|
||||
import {
|
||||
getByKey,
|
||||
refreshCache
|
||||
} from '@/api/index.js';
|
||||
export default {
|
||||
name: 'App',
|
||||
created() {
|
||||
if(localStorage.getItem('setsystemList')){
|
||||
this.$store.commit('setsystemList',JSON.parse(localStorage.getItem('setsystemList')))
|
||||
}
|
||||
getByKey({
|
||||
dictKey:'holdSystemList'
|
||||
}).then(res=>{
|
||||
if(res.status=='1'){
|
||||
let arr = res.data.dictValue.split(',').map(value=>{
|
||||
return {
|
||||
value : value,
|
||||
label : value,
|
||||
data:null
|
||||
}
|
||||
})
|
||||
localStorage.setItem('setsystemList',JSON.stringify(arr))
|
||||
this.$store.commit('setsystemList',arr)
|
||||
|
||||
}
|
||||
})
|
||||
// getV({page:2}).then(res=>{
|
||||
|
||||
// console.log(String(res))
|
||||
// })
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
@import "./assets/css/main.css";
|
||||
@import "./assets/css/color-dark.css";
|
||||
|
||||
/*深色主题*/
|
||||
/*@import "./assets/css/theme-green/color-green.css"; 浅绿色主题*/
|
||||
.setting-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.setting-wrapper .line {
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.call-mode-wrapper,
|
||||
.setting-wrapper {
|
||||
width: 100%;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.conditions-wrapper {
|
||||
/* display: flex; */
|
||||
margin: 15px 0;
|
||||
/* align-items: center; */
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.type3_submit_home {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
left: 80%;
|
||||
margin-top: 30px;
|
||||
top: 74.5vh;
|
||||
z-index: 999;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user