文档url拼接

This commit is contained in:
guoyue 2022-07-14 17:45:20 +08:00
parent e5d772ab21
commit c951b7f858
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@
</div>
<div v-else style="height:100%">
<iframe name="iframeName" width="1000" height="100%" id="iframeId" :frameborder="0"
:src="window.SITE_CONFIG['frontUrl'] + clickData.doc"></iframe>
:src="doc_base_url + clickData.doc"></iframe>
</div>
</div>
</div>
@ -48,6 +48,7 @@ const clickData = ref({})
const treeArray = ref([])
const treeArrayCopy = ref([])
let typeList = ['组件服务', '应用资源', '基础设施', '数据资源', '知识库']
let doc_base_url = ref(window.SITE_CONFIG['frontUrl'])
const treeClick = (item) => {
clickData.value = item