mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 20:23:46 +08:00
feat: update menu icons, add version in site titles
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user