|
@@ -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:
|