skyblued 2 년 전
부모
커밋
64b4222e17
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      src/subpages/colexiu/popups/evaluating/content.tsx

+ 2 - 4
src/subpages/colexiu/popups/evaluating/content.tsx

@@ -77,8 +77,7 @@ export default defineComponent({
     const shareShow = ref(false)
     const shareLoadedPngData = ref('')
     const { data } = toRefs(props)
-    const pathname =
-      location.origin.indexOf('localhost') > -1 || location.origin.indexOf('192.168') > -1 ? '' : '/orchestra-music-score'
+    const pathname = location.pathname
     const getShareUrl = () => {
       const shareData: any = {
         id: data.value?.recordId,
@@ -139,9 +138,8 @@ export default defineComponent({
     }
 
     const viewReport = () => {
-      // this.$router.push('/report')
       postMessage({
-        api: 'openWebView',
+        api: 'openAccompanyWebView',
         content: {
           // url: location.origin + '/accompany/#/report/',
           url: