1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
harveyshao 2021-12-28 15:35:21 +08:00
parent 6c297a9192
commit 39e710dbc4

View File

@ -215,6 +215,7 @@ Volcanos("misc", {help: "通信协议", Message: function(event, can) { var msg
}), }),
MergeURL: shy("地址链接", function(can, objs, clear) { MergeURL: shy("地址链接", function(can, objs, clear) {
var path = location.pathname; objs._path && (path = objs._path, delete(objs._path)) var path = location.pathname; objs._path && (path = objs._path, delete(objs._path))
objs && objs.pod && (path = "/chat/pod/"+objs.pod, delete(objs.pod))
return can.base.MergeURL(location.origin+path+(clear?"":location.search), objs) return can.base.MergeURL(location.origin+path+(clear?"":location.search), objs)
}), }),