|
|
@@ -81,6 +81,12 @@ const formReset = async () => {
|
|
|
|
|
|
const getPageStr = () => {
|
|
|
let tempDate = JSON.parse(JSON.stringify(pageJson.value)) as componentType;
|
|
|
+ // 删除一些没必要的默认值
|
|
|
+ tempDate.header.forEach(item => {
|
|
|
+ if (item.name === 'ElSelectV2') {
|
|
|
+ item.bind.options = []
|
|
|
+ }
|
|
|
+ })
|
|
|
tempDate.tableConfig.data = [];
|
|
|
tempDate.queryParam = {}
|
|
|
tempDate.pageConfig = {
|
|
|
@@ -177,6 +183,7 @@ onMounted(() => {
|
|
|
<div style="display: flex; overflow-y: auto" :style="{height: height -50 - 30 +'px'}"
|
|
|
v-if="currentData.id">
|
|
|
<div style="flex: 1; box-sizing: border-box"
|
|
|
+ v-if="pageJson.isShow"
|
|
|
:style="{width: width - 320 + 'px'}">
|
|
|
<xc-query v-model:page-json="pageJson"
|
|
|
v-model:current-index="theCurrentComponent"
|