fix: 修复typescript一些编译报错

This commit is contained in:
郝先瑞
2022-01-19 23:40:25 +08:00
parent 16ebb4eb22
commit 9e15f53869
9 changed files with 74 additions and 61 deletions

View File

@@ -84,9 +84,7 @@ const defaultExpandedKey = ref([]);
function initHandle() {
nextTick(() => {
console.log("selectedValue1", modelValue)
const selectedValue = modelValue.value;
console.log("selectedValue", modelValue.value)
if (selectedValue !== null && typeof (selectedValue) !== "undefined") {
const node = proxy.$refs.selectTree.getNode(selectedValue)
if (node) {