Skip to content

Commit

Permalink
fix(bug): 修改entity 属性大小写 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Sep 10, 2020
1 parent 5d6e93a commit 0930559
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/components/BaseDialog/FormDesignerDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
@on-submit="handleTest"
width="1000px"
form>
<el-alert type="warning" :closable="false" class="mb-15">组件依赖远端数据需要结合代码实际预览,此处无法直接预览效果!</el-alert>
<generate-form v-if="previewVisible"
:data="widgetForm"
:remote="remoteFuncsForPreview"
Expand Down
4 changes: 2 additions & 2 deletions src/components/FormDesigner/GenerateFormItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,8 @@ export default class GenerateFormItem extends Vue {
this.visible = true;
} else {
this.widget.options.remoteOptions = res.data.list.map(item => ({
value: item.codevalue,
label: item.codename,
value: item.codeValue,
label: item.codeName,
}));
}

Expand Down
4 changes: 2 additions & 2 deletions src/components/FormDesigner/WidgetConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,8 @@ export default {
// 请求字典分类
crud(DML.SELECT, 'ad_codelist_type').then((res) => {
this.dictType = res.data.list.map(item => ({
label: item.codename,
value: item.codevalue,
label: item.codeName,
value: item.codeValue,
}));
});
},
Expand Down
2 changes: 1 addition & 1 deletion src/views/system/Users.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default {
funcGetRole(resolve) {
crud(DML.SELECT, 'role').then((res) => {
const options = res.data.list.map(item => ({
label: item.rolename,
label: item.roleName,
value: item.id,
}));
resolve(options);
Expand Down
2 changes: 1 addition & 1 deletion src/views/system/users.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default {
funcGetRole(resolve) {
crud(DML.SELECT, 'role').then((res) => {
const options = res.data.list.map(item => ({
label: item.rolename,
label: item.roleName,
value: item.id,
}));
resolve(options);
Expand Down

0 comments on commit 0930559

Please sign in to comment.