Skip to content

Commit

Permalink
fix: 修复表格设计保存bug,插件版本升级至测试版0.8.3-3
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Jan 21, 2021
1 parent 7d9999c commit 5b7cab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"axios": "^0.19.2",
"core-js": "3.6.5",
"dayjs": "1.8.20",
"element-pro-crud": "^0.8.3-1",
"element-pro-crud": "^0.8.3-3",
"element-ui": "^2.13.2",
"inquirer": "^6.5.2",
"lodash": "^4.17.14",
Expand Down
6 changes: 3 additions & 3 deletions src/views/devTools/TableDesignerModule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</template>
</CrudTable>
<!-- 对话框 -->
<el-dialog v-if="visible" ref="dialog" top="10vh" class="dialog" :visible.sync="visible" width="95%" append-to-body>
<el-dialog v-if="visible" ref="dialog" top="10vh" class="dialog" :visible.sync="visible" width="1400px" append-to-body>
<TableDesigner :dictList="dictList" :formList="formList" :allTables="allTables" ref="tableDesigner" />

<!-- 底部按钮栏 -->
Expand Down Expand Up @@ -113,8 +113,7 @@ export default class TableDesignerModule extends Vue {
type = DML.UPDATE;
msg = '编辑成功';
}
tableDesignerJson.name = tableDesignerJson.name || this.formValues.tableName;
tableDesignerJson.position = tableDesignerJson.position || this.formValues.position;
crud(type, 'dynamictables', {
...this.formValues,
tableName: tableDesignerJson.name,
Expand All @@ -127,6 +126,7 @@ export default class TableDesignerModule extends Vue {
type: 'success',
message: msg,
});
this.$refs.dynamictables.tableReload();
});
}
Expand Down

0 comments on commit 5b7cab6

Please sign in to comment.