尝试修改BUG尝试5

This commit is contained in:
jimmy committed 2025-01-19 13:09:13 +08:00
1 parent 832b5da7a8
commit a45712adc5
1 file changed
+2
@@ -26,6 +26,7 @@ const globalConfig = ref<typeof zhConfig >(zhConfig)
watch( watch(
() => route.path, () => route.path,
() => { () => {
console.log("监视属性");
globalConfig.value = zhConfig globalConfig.value = zhConfig
}, },
{ {
@@ -44,6 +45,7 @@ const previewImageInfo = reactive<{ url: string; list: string[]; idx: number }>(
) )
function previewImage (e: Event) { function previewImage (e: Event) {
show.value = true
console.log("11111"); console.log("11111");
const target = e.target as HTMLElement const target = e.target as HTMLElement
const currentTarget = e.currentTarget as HTMLElement const currentTarget = e.currentTarget as HTMLElement