|
@@ -153,7 +153,6 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
<div
|
|
<div
|
|
v-if="catalogInfo !== 'system'"
|
|
v-if="catalogInfo !== 'system'"
|
|
class="footer-pagination-wrap"
|
|
class="footer-pagination-wrap"
|
|
@@ -203,12 +202,16 @@ import innerRemoteComponents, { getRemoteComponents } from 'packages/RemoteCompo
|
|
export default {
|
|
export default {
|
|
name: 'BigScreenList',
|
|
name: 'BigScreenList',
|
|
mixins: [pageMixins],
|
|
mixins: [pageMixins],
|
|
- props: { },
|
|
|
|
|
|
+ props: {
|
|
|
|
+ catalogInfo: {
|
|
|
|
+ type: String,
|
|
|
|
+ default: ''
|
|
|
|
+ }
|
|
|
|
+ },
|
|
components: { EditForm, CatalogEditForm },
|
|
components: { EditForm, CatalogEditForm },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
name: '',
|
|
name: '',
|
|
- catalogInfo: 'component',
|
|
|
|
catalogVisible: false,
|
|
catalogVisible: false,
|
|
templateLoading: false,
|
|
templateLoading: false,
|
|
searchKey: '',
|
|
searchKey: '',
|
|
@@ -235,8 +238,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
- $route (val) {
|
|
|
|
- this.catalogInfo = val.query.type || 'component'
|
|
|
|
|
|
+ catalogInfo () {
|
|
this.reset()
|
|
this.reset()
|
|
this.init()
|
|
this.init()
|
|
},
|
|
},
|
|
@@ -245,7 +247,6 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted () {
|
|
mounted () {
|
|
- this.catalogInfo = this.$route.query.type || 'component'
|
|
|
|
this.init()
|
|
this.init()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|