【fix ESLint】src/components/dict/JDictSelectUtil.js
This commit is contained in:
@@ -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不能为空!'
|
||||||
|
|||||||
Reference in New Issue
Block a user