Commit bd425463 authored by 邓晓峰's avatar 邓晓峰

fix: 修复首页路由匹配

parent d36aa9bb
Pipeline #42254 passed with stages
in 1 minute 46 seconds
......@@ -88,7 +88,7 @@ export function findPathByLeafId(leafId, nodes, path, key, clear) {
export function transformURL(path) {
//civweb4/
path = path.replace(/[(\\|)|(&)]widget=[0-9]*/, '');
// path = path.replace(/[(\\|)|(&)]widget=[0-9]*/, '');
const el = document.createElement('input');
el.value = path;
String.fromCharCode(92);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment