feat:修复问题

main
liu.tao3 1 year ago
parent e5188a2e0a
commit 1c8d28e5db

@ -45,7 +45,7 @@
<data-set-select <data-set-select
:dataset-name="datasetName" :dataset-name="datasetName"
:ds-id="config.dataSource.businessKey" :ds-id="config.dataSource.businessKey"
@getDsId="dsId => { getDataSetDetailsById(dsId, 'treeTable');}" @getDsId="changeDsid"
> >
<template #dataSetSelect="{value}"> <template #dataSetSelect="{value}">
<slot <slot
@ -764,6 +764,12 @@ export default {
} }
}, },
methods: { methods: {
changeDsid(dsId){
this.clearVerify()
this.config.customize.columnConfig=[]
this.getDataSetDetailsById(dsId, 'treeTable')
},
// //
openExpression () { openExpression () {
this.$refs.expressionDialog.init() this.$refs.expressionDialog.init()
@ -792,8 +798,6 @@ export default {
}, },
// //
getDataSetDetailsById (id, type) { getDataSetDetailsById (id, type) {
this.clearVerify()
this.config.customize.columnConfig=[]
if (id) { if (id) {
this.config.dataSource.businessKey = id this.config.dataSource.businessKey = id
getDataSetDetails(id).then(res => { getDataSetDetails(id).then(res => {

@ -29,7 +29,7 @@
@click="chooseComponent(component)" @click="chooseComponent(component)"
> >
<div <div
v-if="component.title!='GcBorder16'" v-if="component.title!='GcBorder16'"
:class="component.title == focus.title ? 'focus' : ''" :class="component.title == focus.title ? 'focus' : ''"
class="big-screen-card-inner" class="big-screen-card-inner"
> >

Loading…
Cancel
Save