fix: 修复组件库,分页数据被自定义组件、业务组件两个tab 共用的问题

main
wu.jian2 2 years ago
parent 757ad6f3a5
commit a4163389c1

@ -436,7 +436,6 @@ export default {
} }
}, },
getDataList () { getDataList () {
console.log(this.activeName)
this.loading = true this.loading = true
if (this.activeName === 'combination') { if (this.activeName === 'combination') {
this.$dataRoomAxios.get('/bigScreen/design/page', { this.$dataRoomAxios.get('/bigScreen/design/page', {
@ -447,7 +446,6 @@ export default {
type: 'component' type: 'component'
}) })
.then((data) => { .then((data) => {
console.log('1', data)
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.totalCount = data.totalCount
}) })
@ -462,7 +460,6 @@ export default {
searchKey: this.searchKey, searchKey: this.searchKey,
name: this.name name: this.name
}).then((data) => { }).then((data) => {
console.log('2', data)
this.bizComponentList = data.list this.bizComponentList = data.list
this.bizComponenTotalCount = data.totalCount this.bizComponenTotalCount = data.totalCount
this.loading = false this.loading = false

Loading…
Cancel
Save