fix: 修复typescript一些编译报错

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

No files matched your search

-2
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) {