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

perf: 优化

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