jh-front-end-example-2/src/components/Home/SysInfo.vue

39 lines
792 B
Vue
Raw Normal View History

2022-01-10 21:25:36 +08:00
<!--
* @Author: Billy
* @Date: 2021-07-31 00:45:24
* @LastEditors: Billy
* @LastEditTime: 2021-09-22 23:13:30
* @Description: 系统数据(方便开发调试)
-->
<template>
<div class="container">
<div class="item">
<div class="title">TOKEN</div>
<el-input readonly type="textarea" :rows="3" :value="token"></el-input>
</div>
<div class="item">
<div class="title">CDMS SID</div>
<el-input readonly :value="cdmsSid" size="small"></el-input>
</div>
</div>
</template>
<script>
export default {
props: {
token: { type: String },
cdmsSid: { type: String },
},
data() {
return {};
},
};
</script>
<style lang="scss" scoped>
.item {
margin-bottom: 10px;
.title {
padding-left: 5px;
margin-bottom: 5px;
}
}
</style>