Browse Source

编辑框加载慢的处理-子逸

master
chenke 3 years ago
parent
commit
18be0c7038
  1. 3
      src/views/article/index.vue

3
src/views/article/index.vue

@ -160,7 +160,7 @@
custom-class="demo-drawer" custom-class="demo-drawer"
size="950px" size="950px"
> >
<div class="demo-drawer__content">
<div class="demo-drawer__content" v-if="dialogFormVisible">
<el-form ref="dataForm" :model="temp" label-position="left" label-width="70px" style> <el-form ref="dataForm" :model="temp" label-position="left" label-width="70px" style>
<el-form-item label="类型"> <el-form-item label="类型">
<treeselect <treeselect
@ -499,6 +499,7 @@ export default {
handleUpdate(row) { handleUpdate(row) {
let article_id = row.article_id let article_id = row.article_id
this.dialogStatus = 'update' this.dialogStatus = 'update'
this.resetTemp()
this.dialogFormVisible = true this.dialogFormVisible = true
fetchArticleDetails({ article_id }).then(res => { fetchArticleDetails({ article_id }).then(res => {
this.temp = res.data; this.temp = res.data;

Loading…
Cancel
Save