提交 ecf93376 authored 作者: wangyizheng's avatar wangyizheng

页面美化

上级 82d2ae48
......@@ -31,6 +31,7 @@
:data="tableData"
border
stripe
class="table-list"
size="mini"
style="width: 100%">
<el-table-column fixed label="案例名称">
......@@ -213,7 +214,7 @@ export default {
})
},
list(params = {}) {
const rLoading = this.openLoading()
const rLoading = this.openLoading('.table-list')
userUseConfigApi.userUseConfigList(params).then(res => {
if (res.code === 0) {
this.tableData = res.data.data
......@@ -269,7 +270,7 @@ export default {
.then(_ => {
this.loading = true
// 提交表单
const rLoading = this.openLoading()
const rLoading = this.openLoading('.table-list')
userUseConfigApi.createUserUseConfig(this.addForm).then(res => {
if (res.code === 0) {
this.list({ page: 1, limit: this.limit })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论