chentaisen 2024-08-25 22:22:21 +08:00
commit f9181a05f0
1 changed files with 2 additions and 0 deletions

View File

@ -172,6 +172,7 @@ import { listData, getData, delData, addData, updateData } from "/src/api/tableD
export default { export default {
name: "Data", name: "Data",
dicts: ['sys_yes_no'],
data() { data() {
return { return {
// //
@ -227,6 +228,7 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
listData(this.queryParams).then(response => { listData(this.queryParams).then(response => {
console.log(response);
this.dataList = response.data.rows; this.dataList = response.data.rows;
this.total = response.data.total; this.total = response.data.total;
this.loading = false; this.loading = false;