1. 修复(kinit-admin):页面缓存问题修复 2. 更新(kinit-api,kinit-admin):菜单管理新增是否缓存字段 3. 更新(kinit-admin):将缓存默认存储在localStorage中 4. 更新(kinit-api):将python-jose库更换为pyjwt库 5. 优化(kinit-admin,kinit-uni):退出登录方法优化 6. 优化(kinit-admin,kinit-uni):response拦截优化 7. 新增(kinit-api,kinit-admin,kinit-uni):jwt到期时间缩短,加入刷新token功能 8. (kinit-uni)切换到 vscode 开发 uniapp 项目
56 lines
964 B
Vue
56 lines
964 B
Vue
<template>
|
|
<view class="content">
|
|
<image v-if="logo" class="logo" :src="logoImage"></image>
|
|
<view class="text-area">
|
|
<text class="title">Hello {{ name }}</text>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { wxShareMixins } from '@/common/mixins/share.js'
|
|
|
|
export default {
|
|
mixins: [wxShareMixins],
|
|
computed: {
|
|
name() {
|
|
return this.$store.state.auth.name
|
|
},
|
|
logo() {
|
|
return this.$store.state.app.logo
|
|
},
|
|
logoImage() {
|
|
return this.$store.state.app.logoImage
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.logo {
|
|
height: 200rpx;
|
|
width: 200rpx;
|
|
margin-top: 200rpx;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-bottom: 50rpx;
|
|
}
|
|
|
|
.text-area {
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
.title {
|
|
font-size: 36rpx;
|
|
color: #8f8f94;
|
|
}
|
|
}
|
|
}
|
|
</style>
|