Update App.jsx via upload script - 2026-08-01 18:43:23

This commit is contained in:
mike 2026-08-01 18:43:46 +08:00
parent dec748931a
commit e8b80c802d
1 changed files with 8 additions and 0 deletions

View File

@ -4412,6 +4412,14 @@ function JmsPage({ lines, onSave, onDelete, onCheck, onNotify, dragIdx, onDragSt
} }
} }
// 线线DNS IP线
//
useEffect(() => {
lines.forEach(line => {
if (!(line.id in ipMap)) refreshIp(line.id, line.addr);
});
}, [lines]);
function copyLink(line) { function copyLink(line) {
const link = jmsBuildLink(line); const link = jmsBuildLink(line);
navigator.clipboard.writeText(link).then(() => onNotify('订阅链接已复制')).catch(() => onNotify('复制失败,请手动选择')); navigator.clipboard.writeText(link).then(() => onNotify('订阅链接已复制')).catch(() => onNotify('复制失败,请手动选择'));