From c60e588944ffbe400cb1f82a00f49df49eec81cf Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 20 九月 2023 20:28:48 +0800 Subject: [PATCH] 引用码段-JSON.parse问题处理 --- Source/UBCS-WEB/src/components/refer/vciWebRefer.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue b/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue index 406c2b4..7ecbfa0 100644 --- a/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue +++ b/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue @@ -17,6 +17,7 @@ components: {vciWebReferTree, vciWebReferTable, vciWebReferDefalut}, data() { return { + reterTypeLeavl:'213', refertype: this.referConfig.options.type, emitData:{}, title:'', @@ -25,12 +26,11 @@ }; }, created() { - if (!this.referConfig.options) { + if (!this.referConfig.options && this.referConfig.options.isMuti==undefined) { this.referConfig.options = { - isMuti: false + isMuti: this.referConfig.options.muti || false } } - console.log('referConfig',this.referConfig) }, mounted() { var title = this.referConfig.title || ''; -- Gitblit v1.9.3