文件选择器网络链接功能优化

This commit is contained in:
阿辉
2024-12-04 17:13:20 +08:00
parent 69d36cf858
commit 81d2fac8b6

View File

@@ -323,6 +323,7 @@ const netPrefix = ref<string>('HTTP://');
const netChange = () => {
let s = netUrl.value.trim();
if (s.toUpperCase().startsWith('HTTP://') || s.toUpperCase().startsWith('HTTPS://')) s = s.split('://')[1];
if (s.startsWith('/')) s = s.substring(1);
netUrl.value = s;
};
const confirmNetUrl = () => {