更新vue3相关跳转链接

This commit is contained in:
hooray
2021-08-15 00:05:56 +08:00
parent 25017ae9fe
commit 81b1e04ceb
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -39,7 +39,9 @@ export default {
dangerouslyUseHTMLString: true,
message: `
<p>当前访问的是<b>基础版</b></p>
<p>你可以点<a href="https://hooray.${location.origin.includes('gitee') ? 'gitee' : 'github'}.io/fantastic-admin/pro/" target="_blank"><b>这里</b></a>访问专业版</p>
<p>你可以点<a href="https://hooray.${location.origin.includes('gitee') ? 'gitee' : 'github'}.io/fantastic-admin/vue2/pro/" target="_blank"><b>这里</b></a>访问专业版</p>
<div style="border-top: 1px solid #ccc; margin: 10px 0;"></div>
<p>如果你对 Vue3 感兴趣,框架也提供了 Vue3 版本的:<a href="https://hooray.${location.origin.includes('gitee') ? 'gitee' : 'github'}.io/fantastic-admin/vue3/basic/" target="_blank"><b>基础版</b></a>和<a href="https://hooray.${location.origin.includes('gitee') ? 'gitee' : 'github'}.io/fantastic-admin/vue3/pro/" target="_blank"><b>专业版</b></a></p>
`,
position: 'bottom-right',
duration: 0
+2 -2
View File
@@ -95,9 +95,9 @@ export default {
},
pro() {
if (location.origin.includes('gitee')) {
window.open('https://hooray.gitee.io/fantastic-admin/pro', 'top')
window.open('https://hooray.gitee.io/fantastic-admin/vue2/pro', 'top')
} else {
window.open('https://hooray.github.io/fantastic-admin/pro', 'top')
window.open('https://hooray.github.io/fantastic-admin/vue2/pro', 'top')
}
}
}