1.代码优化

sws 2024-09-02
v1.0.0
sws 2024-09-02 09:58:52 +08:00
parent e785ccc9e6
commit b7bb44f8c8
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ const components = reactive([
},
]);
const url_computer = (name: string) => {
const new_url = ref(new URL(`../../../../../assets/images/layout/siderbar/${name}.png`, import.meta.url).href).value;
const new_url = ref(new URL(`../../../../assets/images/layout/siderbar/${name}.png`, import.meta.url).href).value;
return new_url;
};