fix: 初始化activeKeys为'defaultActive'以确保组件的默认状态正确
This commit is contained in:
parent
0cd2a951d5
commit
153cbfa467
@ -12,7 +12,7 @@ const props = defineProps<Props>();
|
|||||||
const editor = inject(props.token)!;
|
const editor = inject(props.token)!;
|
||||||
|
|
||||||
const keyword = ref<string>('');
|
const keyword = ref<string>('');
|
||||||
const activeKeys = ref<string[]>([]);
|
const activeKeys = ref<string[]>(['defaultActive']);
|
||||||
|
|
||||||
//#region 点位列表
|
//#region 点位列表
|
||||||
const points = computed<MapPen[]>(() =>
|
const points = computed<MapPen[]>(() =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user