|
@@ -31,7 +31,7 @@ export default {
|
|
|
characterList, //角色列表
|
|
|
},
|
|
|
data: () => ({
|
|
|
- total: 1,
|
|
|
+ total: 0,
|
|
|
topTitle: '角色管理',
|
|
|
display: 'bk',
|
|
|
debtTable: [],
|
|
@@ -45,7 +45,10 @@ export default {
|
|
|
|
|
|
async searchInfo({ skip = 0, limit = 10, ...info } = {}) {
|
|
|
const res = await this.query({ skip, limit, ...info });
|
|
|
+ console.log(res.total);
|
|
|
+
|
|
|
this.$set(this, `debtTable`, res.data);
|
|
|
+ this.$set(this, `total`, res.total);
|
|
|
},
|
|
|
// 添加
|
|
|
add() {
|