feat: update menu icons, add version in site titles

This commit is contained in:
RockYang
2024-04-01 18:20:00 +08:00
parent 95efbd5659
commit fbb216fe3b
19 changed files with 67 additions and 28 deletions

View File

@@ -120,6 +120,10 @@ const removeFile = (file) => {
const insertURL = (url) => {
show.value = false
// 如果是相对路径,处理成绝对路径
if (url.indexOf("http") === -1) {
url = location.protocol + "//" + location.host + url
}
emits('selected', url)
}
</script>