mirror of https://github.com/halo-dev/halo
Fix type check error
parent
4613ecd8d1
commit
d9e6465072
|
@ -5,7 +5,7 @@
|
||||||
treeDefaultExpandAll
|
treeDefaultExpandAll
|
||||||
:treeDataSimpleMode="true"
|
:treeDataSimpleMode="true"
|
||||||
:allowClear="true"
|
:allowClear="true"
|
||||||
:value="categoryId"
|
:value="categoryIdString"
|
||||||
@change="handleSelectionChange"
|
@change="handleSelectionChange"
|
||||||
>
|
>
|
||||||
</a-tree-select>
|
</a-tree-select>
|
||||||
|
@ -43,6 +43,9 @@ export default {
|
||||||
pId: category.parentId
|
pId: category.parentId
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
categoryIdString() {
|
||||||
|
return this.categoryId.toString()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue