style: 移除 store 中无用的 Promise 声明以及优化代码格式 增强部分健壮性
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
import '../install'
|
||||
import doc from './doc.md'
|
||||
import code from './code.js'
|
||||
import { BusinessTable1List } from '@api/demo.business.table.1'
|
||||
import { businessTable1List } from '@api/demo.business.table.1'
|
||||
|
||||
export default {
|
||||
data () {
|
||||
@@ -73,7 +73,7 @@ export default {
|
||||
},
|
||||
fetchData () {
|
||||
this.loading = true
|
||||
BusinessTable1List({
|
||||
businessTable1List({
|
||||
...this.pagination
|
||||
}).then(res => {
|
||||
this.data = res.list
|
||||
|
||||
Reference in New Issue
Block a user