QSelectbox value 없을때 title 부분 수정
This commit is contained in:
parent
ce7c90eb6f
commit
001143954e
@ -39,7 +39,7 @@ export default function QSelectBox({
|
||||
if (showKey !== '' && !value) {
|
||||
//value가 없으면 showKey가 있으면 우선 보여준다
|
||||
// return options[0][showKey]
|
||||
return title
|
||||
return title !== '' ? title : getMessage('selectbox.title')
|
||||
} else if (showKey !== '' && value) {
|
||||
//value가 있으면 sourceKey와 targetKey를 비교하여 보여준다
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user