chore(ApiTree): 消除绑定属性的类型错误
This commit is contained in:
parent
fa5803f8c7
commit
b3b2ca0738
|
|
@ -17,6 +17,7 @@
|
||||||
import { get } from 'lodash-es';
|
import { get } from 'lodash-es';
|
||||||
import { propTypes } from '/@/utils/propTypes';
|
import { propTypes } from '/@/utils/propTypes';
|
||||||
import { LoadingOutlined } from '@ant-design/icons-vue';
|
import { LoadingOutlined } from '@ant-design/icons-vue';
|
||||||
|
import { DataNode } from 'ant-design-vue/es/tree';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'ApiTree',
|
name: 'ApiTree',
|
||||||
|
|
@ -30,7 +31,7 @@
|
||||||
},
|
},
|
||||||
emits: ['options-change', 'change'],
|
emits: ['options-change', 'change'],
|
||||||
setup(props, { attrs, emit }) {
|
setup(props, { attrs, emit }) {
|
||||||
const treeData = ref<Recordable<any>[]>([]);
|
const treeData = ref<DataNode[]>([]);
|
||||||
const isFirstLoaded = ref<Boolean>(false);
|
const isFirstLoaded = ref<Boolean>(false);
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
const getAttrs = computed(() => {
|
const getAttrs = computed(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue