Merge ecad2fde94 into 2cda7bde09
commit
27008fc0ba
|
|
@ -207,7 +207,7 @@ export default defineComponent({
|
||||||
// ========================= Wrap Value =========================
|
// ========================= Wrap Value =========================
|
||||||
const convert2LabelValues = (draftValues: DraftValueType) => {
|
const convert2LabelValues = (draftValues: DraftValueType) => {
|
||||||
// Convert to array
|
// Convert to array
|
||||||
const valueList = toArray(draftValues);
|
const valueList = draftValues !== '' ? toArray(draftValues) : [];
|
||||||
|
|
||||||
// Convert to labelInValue type
|
// Convert to labelInValue type
|
||||||
return valueList.map(val => {
|
return valueList.map(val => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue