2022年5月29日从svn移到git

This commit is contained in:
daihh
2022-05-29 18:56:34 +08:00
commit b050613020
488 changed files with 68444 additions and 0 deletions

35
src/App.vue Normal file
View File

@@ -0,0 +1,35 @@
<template>
<div id="app">
<router-view />
</div>
</template>
<script>
import { mapGetters } from 'vuex';
export default{
name: 'App',
computed: {
...mapGetters(['userInfo'])
},
mounted(){
//从状态值中取,因为登录处理所以移动watch中
// console.log(this.userInfo);
// if(this.userInfo && this.userInfo.name!=''){
// this.$watermark.set(this.userInfo.name+this.userInfo.loginName);
// }
},
// watch:{
// userInfo(newVal,oldVal){
// if(newVal && newVal.name!=''){
// this.$watermark.set(newVal.name+newVal.loginName);
// }
// }
// }
}
</script>
<style lang="scss">
.u-page{
padding: 10px;
}
</style>