
ref: getCheckedNodes() 方法x必須項
show-all-levels: 輸入框中是否顯示選中值的完整路徑
options: 可選項數據源,鍵名可通過
Props 屬性配置
// 獲取級聯選擇器選中的名稱數組
const lenLength = this.$refs.myCascader.getCheckedNodes()[0].pathLabels.length - 1
this.financialBudgetForm.projectFrom = this.$refs.myCascader.getCheckedNodes()[0].pathLabels[lenLength]
