diff --git a/mindinsight/ui/src/locales/en-us.json b/mindinsight/ui/src/locales/en-us.json index b42c3ecbb2b714ba27990dafdcf8ca73384b3504..6c8de301d35980ad783e2a80fcc9b91b3fff413b 100644 --- a/mindinsight/ui/src/locales/en-us.json +++ b/mindinsight/ui/src/locales/en-us.json @@ -259,6 +259,9 @@ "anchor": ["desc"], "url": [ "https://www.mindspore.cn/tutorial/en/master/advanced_use/performance_profiling.html" + ], + "gpuUrl": [ + "https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/performance_profiling_gpu.html" ] }, "step_trace-proposer_type_label": { diff --git a/mindinsight/ui/src/locales/zh-cn.json b/mindinsight/ui/src/locales/zh-cn.json index 20f054d6e662e0f94cdfd777f653507c47944e4d..a3ce7f97ca150ba76022cc2c65e29eeebdf3ea07 100644 --- a/mindinsight/ui/src/locales/zh-cn.json +++ b/mindinsight/ui/src/locales/zh-cn.json @@ -258,6 +258,9 @@ "anchor": ["desc"], "url": [ "https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/performance_profiling.html" + ], + "gpuUrl": [ + "https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/performance_profiling_gpu.html" ] }, "step_trace-proposer_type_label": { diff --git a/mindinsight/ui/src/views/profiling-gpu/profiling.vue b/mindinsight/ui/src/views/profiling-gpu/profiling.vue index d4a8eed4e34960e96091655195e0917155c0e7af..89fa1d5df0324905d2f40275b1e0bcde3073c79b 100644 --- a/mindinsight/ui/src/views/profiling-gpu/profiling.vue +++ b/mindinsight/ui/src/views/profiling-gpu/profiling.vue @@ -260,7 +260,7 @@ export default { divDom.setAttribute('class', 'content-style'); divDom.innerHTML = `
- + ${this.$t(`profiling`)[item].desc}
`; helperDiv.appendChild(divDom); } else { @@ -272,7 +272,7 @@ export default { const desc = anchorContent.relpace( anchorList[i], ` ${anchorList[i]}`, );