文件选择器网络链接功能优化
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user