【fix ESLint】src/components/dict/JDictSelectUtil.js

This commit is contained in:
danshihao
2023-03-03 15:02:43 +08:00
parent bbf01eeb58
commit 4c1b400d20
@@ -108,7 +108,7 @@ export function filterMultiDictText (dictOptions, text) {
*/ */
export function filterDictTextByCache (dictCode, key) { export function filterDictTextByCache (dictCode, key) {
if (key === null || key === undefined || key.length === 0) { if (key === null || key === undefined || key.length === 0) {
return return ''
} }
if (!dictCode) { if (!dictCode) {
return '字典Code不能为空!' return '字典Code不能为空!'