Skip to content

Commit

Permalink
fix: 修复dictSelect配置options无效的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed Jun 15, 2020
1 parent 538cdc1 commit a39cde6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/d2-crud-plus/src/lib/utils/util.dicts.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ const cache = new Map()
function get (dict) {
if (dict == null) {
// 如果没有配置字典,直接返回空数组
dict = {}
return new Promise((resolve) => {
resolve(undefined)
})
}

let url = dict.url
Expand Down

0 comments on commit a39cde6

Please sign in to comment.