|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<div>
|
|
<div>
|
|
- <basic-container v-if="show">
|
|
|
|
|
|
+ <basic-container v-show="show">
|
|
<avue-crud
|
|
<avue-crud
|
|
:option="option"
|
|
:option="option"
|
|
:search.sync="search"
|
|
:search.sync="search"
|
|
@@ -38,7 +38,7 @@
|
|
ref="detail"
|
|
ref="detail"
|
|
@goBack="goBack"
|
|
@goBack="goBack"
|
|
:detailData="detailData"
|
|
:detailData="detailData"
|
|
- v-else
|
|
|
|
|
|
+ v-if="!show"
|
|
></detail-page>
|
|
></detail-page>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -228,6 +228,7 @@ export default {
|
|
this.dataList = res.data.data.records
|
|
this.dataList = res.data.data.records
|
|
this.page.total = res.data.data.total
|
|
this.page.total = res.data.data.total
|
|
this.loading = false
|
|
this.loading = false
|
|
|
|
+ this.$refs.crud.doLayout()
|
|
}).finally(() => {
|
|
}).finally(() => {
|
|
this.loading = false
|
|
this.loading = false
|
|
})
|
|
})
|