修改diy获取数据显示

v1.4.0
于肖磊 2025-09-22 14:34:21 +08:00
parent 649475dae3
commit 3944f44706
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ export const get_id = () => {
new_id = new_id.substring(0, html_index);
}
return new_id;
} else if (url.indexOf('shop-diy-saveinfo') != -1) {
new_id = url.substring(url.indexOf('shop-diy-saveinfo-') + 18);
} else if (url.indexOf('-saveinfo') != -1) {
new_id = url.substring(url.indexOf('-saveinfo-') + 10);
// 去除字符串的.html
const dot_data = new_id.split('.')[0];
if (dot_data != '') {