Browse Source

更换开放平台地址

zhuf 1 year ago
parent
commit
45192746dd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/components/commonFooter/index.vue

+ 2 - 1
src/components/commonFooter/index.vue

@@ -8,7 +8,8 @@ const router = useRouter()
 function openWeb() {
   // const url = router.resolve({ path: "./home/new" }).href;
   // window.open(url, "_blank");
-  window.open('https://jltweb.bozedu.net/#/home/new', '_blank')
+  const linkUrl = 'https://jltweb.bozedu.net/#/home/openPlatform' + '&' + 'appname=' + '开放平台' + '&appicon=' + '' + `&token=${JSON.parse(localStorage.getItem('userInfo')).token}&js_code=${webInfo.js_code}`
+  window.open(linkUrl, '_blank')
 }
 
 const qrcode = computed(() => {