#909 V2.1.5 平台版本号应该在平台内展示出来。方便查阅是否为最新版本
This commit is contained in:
parent
3c064ebffd
commit
b4dca57828
|
@ -57,6 +57,13 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="right-align">{{ state.user.createTime }}</div>
|
<div class="right-align">{{ state.user.createTime }}</div>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="list-group-item">
|
||||||
|
<div class="left-align">
|
||||||
|
<Paperclip class="Calendar"/>
|
||||||
|
<span>版本编号</span>
|
||||||
|
</div>
|
||||||
|
<div class="right-align">v{{version}}</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
@ -83,13 +90,15 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup name="Profile">
|
<script setup name="Profile">
|
||||||
import { UserFilled, Cellphone, Message, Suitcase, Avatar, Calendar } from '@element-plus/icons-vue'
|
import { UserFilled, Cellphone, Message, Suitcase, Avatar, Calendar, Paperclip } from '@element-plus/icons-vue'
|
||||||
import { ref, reactive } from 'vue'
|
import { ref, reactive } from 'vue'
|
||||||
import userAvatar from './userAvatar.vue'
|
import userAvatar from './userAvatar.vue'
|
||||||
import userInfo from './userInfo.vue'
|
import userInfo from './userInfo.vue'
|
||||||
import resetPwd from './resetPwd.vue'
|
import resetPwd from './resetPwd.vue'
|
||||||
import { getUserProfile } from '@/api/system/user'
|
import { getUserProfile } from '@/api/system/user'
|
||||||
|
import pkc from "../../../../../package.json"
|
||||||
|
|
||||||
|
const version = ref(pkc.version)
|
||||||
const activeTab = ref('userinfo')
|
const activeTab = ref('userinfo')
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
user: {},
|
user: {},
|
||||||
|
|
Loading…
Reference in New Issue