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

页面美化

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