✨(component): update
This commit is contained in:
parent
c4cf4efd3d
commit
59b999d253
@ -77,16 +77,18 @@ const options = ref<any>([]);
|
|||||||
var timer: any;
|
var timer: any;
|
||||||
|
|
||||||
const getOption = (nodes: VNode[]) => {
|
const getOption = (nodes: VNode[]) => {
|
||||||
nodes?.filter((item: VNode) => {
|
nodes
|
||||||
return item.children != "v-if";
|
?.filter((item: VNode) => {
|
||||||
})?.map((item: VNode) => {
|
return item.children != "v-if";
|
||||||
let component = item.type as Component;
|
})
|
||||||
if (component.name === LaySelectOption.name) {
|
?.map((item: VNode) => {
|
||||||
options.value.push(item.props);
|
let component = item.type as Component;
|
||||||
} else {
|
if (component.name === LaySelectOption.name) {
|
||||||
getOption(item.children as VNode[]);
|
options.value.push(item.props);
|
||||||
}
|
} else {
|
||||||
});
|
getOption(item.children as VNode[]);
|
||||||
|
}
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const intOption = () => {
|
const intOption = () => {
|
||||||
|
@ -457,7 +457,6 @@ watch(
|
|||||||
);
|
);
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
||||||
getScrollWidth();
|
getScrollWidth();
|
||||||
getFixedColumn();
|
getFixedColumn();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user