|
|
@ -1,4 +1,4 @@ |
|
|
|
import { cloneDeep, createWidget, each, extend, isArray, shortcut, some, Widget } from "@/core"; |
|
|
|
import { cloneDeep, createWidget, each, extend, isArray, isNull, shortcut, some, Widget } from "@/core"; |
|
|
|
import { DownListPopup } from "./popup.downlist"; |
|
|
|
import { DownListPopup } from "./popup.downlist"; |
|
|
|
import { Combo } from "@/base"; |
|
|
|
import { Combo } from "@/base"; |
|
|
|
import { IconTrigger } from "@/case"; |
|
|
|
import { IconTrigger } from "@/case"; |
|
|
@ -134,7 +134,11 @@ export class DownListCombo extends Widget { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
getValue() { |
|
|
|
getValue() { |
|
|
|
return this.popupView.getValue(); |
|
|
|
if (isNull(this.popupView)) { |
|
|
|
|
|
|
|
return this.options.value; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
return this.popupView.getValue(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
adjustWidth() { |
|
|
|
adjustWidth() { |
|
|
|