提交 f7cc4599 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: 外部链接预览

上级 d06d8cfe
<template>
<div id="canvasInfo" :style="customStyle" class="bg">
<el-row v-if="componentDataShow.length===0" style="height: 100%;" class="custom-position">
{{ $t('panel.panel_null') }}
<!-- {{ $t('panel.panel_null') }} -->
</el-row>
<ComponentWrapper
v-for="(item, index) in componentDataInfo"
......
......@@ -6,9 +6,11 @@ import '@/styles/index.scss' // global css
import i18n from '../lang' // internationalization
import ElementUI from 'element-ui'
import '@/components/canvas/custom-component' // 注册自定义组件
import widgets from '@/components/widget'
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
Vue.use(widgets)
Vue.use(ElementUI, {
i18n: (key, value) => i18n.t(key, value)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论