From e98b771775b78e63c8e566f3a0852f394cb80dc1 Mon Sep 17 00:00:00 2001 From: aaron <462826@qq.com> Date: Fri, 4 Dec 2020 11:23:41 +0800 Subject: [PATCH] preview field data --- ui/src/components/Design.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ui/src/components/Design.vue b/ui/src/components/Design.vue index 4b590cc9..0331e670 100644 --- a/ui/src/components/Design.vue +++ b/ui/src/components/Design.vue @@ -78,7 +78,7 @@ -
{{previewData}}
+
@@ -442,8 +442,8 @@ export default { this.tabKey = activeKey if (this.tabKey === 'preview') { - previewFieldData(this.modelProp.id).then(json => { - console.log('getResInstancesItemTree', json) + previewFieldData(this.modelData.id).then(json => { + console.log('previewFieldData', json) this.previewData = json.data }) } @@ -487,4 +487,8 @@ export default { } } +.preview-data { + padding: 10px; +} + -- GitLab