功能变化: foreign-key-crud-form 组件优化

pull/102/head
李强 2023-07-08 19:15:40 +08:00
parent c9544df61f
commit a42cedf5e3
3 changed files with 12 additions and 2 deletions

View File

@ -19,6 +19,7 @@
"china-division": "^2.4.0",
"core-js": "^3.4.3",
"cropperjs": "^1.5.6",
"crypto-js": "^4.1.1",
"d2-crud-plus": "^2.17.9",
"d2-crud-x": "^2.17.9",
"d2p-extends": "^2.17.9",
@ -43,7 +44,9 @@
"ua-parser-js": "^0.7.20",
"viser-vue": "^2.4.8",
"vue": "2.7.14",
"vue-clipboard2": "^0.3.3",
"vue-core-video-player": "^0.2.0",
"vue-cropper": "^0.6.2",
"vue-echarts": "^6.5.4",
"vue-grid-layout": "^2.4.0",
"vue-html2pdf": "^1.8.0",
@ -51,6 +54,7 @@
"vue-infinite-scroll": "^2.0.2",
"vue-router": "^3.6.5",
"vue-splitpane": "^1.0.6",
"vue-swiper-component": "^2.1.3",
"vuex": "^3.1.2",
"vxe-table": "^3.3.2",
"xe-utils": "^3.2.1"

View File

@ -63,7 +63,11 @@
:visible.sync="previewVisible"
append-to-body
width="900">
<d2p-ueditor v-model="currentForm.data[ueditorIndex][ueditorKey]" :config="ueditorConfig"></d2p-ueditor>
<d2p-ueditor
v-if="currentForm.data && currentForm.data[ueditorIndex]"
v-model="currentForm.data[ueditorIndex][ueditorKey]"
:config="ueditorConfig">
</d2p-ueditor>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="previewVisible = false">完成</el-button>
</span>

View File

@ -38,7 +38,9 @@ import util from '@/libs/util'
import VueCoreVideoPlayer from 'vue-core-video-player'
// 引入echarts
import * as echarts from 'echarts' // 注册echarts组件
// 第三方组件
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard)
Vue.use(VueCoreVideoPlayer)
// 核心插件
Vue.use(d2Admin)