Skip to content

Commit

Permalink
perf: 修改字典下拉框prop @0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Dec 20, 2020
1 parent 9a8be90 commit 5e91320
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "element-pro-crud",
"version": "0.6.0",
"version": "0.6.1",
"main": "lib/ProCrud.umd.min.js",
"files": [
"lib",
Expand Down
6 changes: 2 additions & 4 deletions packages/form-designer/src/WidgetConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@
:key="item.value"
:label="item.label"
:value="item.value">
<span style="float: left">{{ item.label }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.value }}</span>
</el-option>
</el-select>
</template>
Expand Down Expand Up @@ -670,8 +668,8 @@ export default {
// 请求字典分类
this.$PROCRUD.crud(DML.SELECT, 'ad_codelist_type').then((res) => {
this.dictType = res.data.list.map(item => ({
label: item.codeName,
value: item.codeValue,
label: item.typeName,
value: item.typeName,
}));
});
},
Expand Down

0 comments on commit 5e91320

Please sign in to comment.