Commit 22c7e35f authored by “yiyousong”'s avatar “yiyousong”

perf: 优化

parent 386a65bf
......@@ -174,10 +174,10 @@ export default {
});
let { modelUrl, modelName, modelIcon } = row;
let path = this.$route.path;
modelName = encodeURI(modelName);
let compileModelName = encodeURI(modelName);
let params = `?token=${this.token}&siteid=${siteid}&siteName=${encodeURI(
siteName
)}&userInfo=${userInfo}&sysName=${modelName}&sysLogo=${modelIcon}&path=${path}`;
)}&userInfo=${userInfo}&sysName=${compileModelName}&sysLogo=${modelIcon}&path=${path}`;
if (type === "click") {
window.open(`${modelUrl}${params}`, "_blank");
return;
......@@ -204,7 +204,7 @@ export default {
duration: null,
description: (
<div>
<div class="notif-name">完整链接:</div>
<div class="notif-name">{modelName}-完整链接:</div>
<div>{redirectUrl + params}</div>
<div class="notif-name">链接参数:</div>
<div>{params}</div>
......
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