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