Update index.vue
This commit is contained in:
parent
31fbdbaccf
commit
75d2b3944e
|
|
@ -88,7 +88,7 @@
|
||||||
mounted() {
|
mounted() {
|
||||||
if(this.apiObj){
|
if(this.apiObj){
|
||||||
this.getData();
|
this.getData();
|
||||||
}else{
|
}else if(this.data){
|
||||||
this.tableData = this.data;
|
this.tableData = this.data;
|
||||||
this.total = this.tableData.length
|
this.total = this.tableData.length
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue