Commit 68d89e44 by qinjianhui

fix: 问题修改

parent 9574485a
...@@ -37,3 +37,8 @@ ...@@ -37,3 +37,8 @@
margin: 0 auto; margin: 0 auto;
} }
} }
.el-button--primary {
background-color: #1565C0;
border-color: #1565C0;
}
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="table-wrap"> <div class="table-wrap" v-loading="loading">
<el-table <el-table
ref="table" ref="table"
:data="manageData" :data="manageData"
...@@ -527,6 +527,7 @@ export default { ...@@ -527,6 +527,7 @@ export default {
addVisible: false, addVisible: false,
selection: [], selection: [],
cloneEditForm: {}, cloneEditForm: {},
loading: false,
} }
}, },
async created() { async created() {
...@@ -541,9 +542,7 @@ export default { ...@@ -541,9 +542,7 @@ export default {
this.$set(this.editForm, 'databaseName', e) this.$set(this.editForm, 'databaseName', e)
}, },
async getList() { async getList() {
const l = this.$loading({ this.loading = true
background: 'rgba(0, 0, 0, 0.3)',
})
try { try {
const res = await getManageData( const res = await getManageData(
{ {
...@@ -559,7 +558,7 @@ export default { ...@@ -559,7 +558,7 @@ export default {
} catch (e) { } catch (e) {
console.error(e) console.error(e)
} finally { } finally {
l.close() this.loading = false
} }
}, },
search() { search() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment