@@ -237,10 +237,15 @@ const typeChange = (val) => {
}
const filterChange = (val) => {
- if (templateType === 3) {
+ try {
hisTreeRef.value.filter(val)
- } else {
+ } catch {
+
+ }
treeRef.filter(val);