|
|
@@ -70,7 +70,7 @@ export default {
|
|
|
return {
|
|
|
list: [],
|
|
|
schema: {
|
|
|
- singlePage: true,
|
|
|
+ nonPagination: true,
|
|
|
list: this.getSensors,
|
|
|
cols: [
|
|
|
{ prop: 'name', label: '传感器名称' },
|
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
this.$refs.tableDialog?.getTable()?.pageTo()
|
|
|
},
|
|
|
getSensors () {
|
|
|
- return Promise.resolve({ data: this.list.concat(this.list).concat(this.list) })
|
|
|
+ return Promise.resolve({ data: this.list })
|
|
|
},
|
|
|
onShowAll () {
|
|
|
this.$refs.tableDialog.show()
|