2
0
mirror of https://github.com/esiur/iui.git synced 2026-04-04 23:18:21 +00:00
This commit is contained in:
2023-01-25 17:02:24 +03:00
parent 12627b1896
commit 90e9fb5c71
2 changed files with 25 additions and 8 deletions

View File

@@ -114,6 +114,10 @@ export default IUI.module(
}
async navigate(url, data, target, state, dataToQuery = true) {
if (url == null)
throw new Error("URL not specified.");
let q = url.match(/^\/*(.*?)\?(.*)$|^\/*(.*)$/);
var path;