fix: 优化license页面
This commit is contained in:
parent
16960ea287
commit
07c249fdf4
|
@ -5,9 +5,9 @@
|
||||||
<div>
|
<div>
|
||||||
<j-descriptions bordered :column="4">
|
<j-descriptions bordered :column="4">
|
||||||
<j-descriptions-item label="Host" :span="4">
|
<j-descriptions-item label="Host" :span="4">
|
||||||
{{ info?.host }}
|
{{ infoData?.host }}
|
||||||
</j-descriptions-item>
|
</j-descriptions-item>
|
||||||
<template v-for="i in info?.modules" :key="i">
|
<template v-for="i in infoData?.modules" :key="i">
|
||||||
<j-descriptions-item label="IP" :span="2">
|
<j-descriptions-item label="IP" :span="2">
|
||||||
{{ i.ip }}
|
{{ i.ip }}
|
||||||
</j-descriptions-item>
|
</j-descriptions-item>
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
data: {
|
infoData: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: {},
|
default: {},
|
||||||
},
|
},
|
||||||
|
@ -52,16 +52,8 @@ const props = defineProps({
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
let info = ref();
|
|
||||||
let license = ref();
|
let license = ref();
|
||||||
watch(
|
|
||||||
() => {
|
|
||||||
props.data;
|
|
||||||
},
|
|
||||||
() => {
|
|
||||||
info.value = props.data;
|
|
||||||
},
|
|
||||||
);
|
|
||||||
watch(
|
watch(
|
||||||
() => props.licenseData,
|
() => props.licenseData,
|
||||||
() => {
|
() => {
|
||||||
|
|
Loading…
Reference in New Issue