|
@@ -126,7 +126,7 @@
|
|
|
id="audioTag"
|
|
|
class="noshow"
|
|
|
autoplay
|
|
|
- :src="currentTag.imageTextInfo.audio.ossPath"
|
|
|
+ :src="currentTag?.imageTextInfo?.audio?.ossPath"
|
|
|
></audio>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -158,8 +158,8 @@ const modules = ref([Navigation, Zoom]);
|
|
|
const store = useStore();
|
|
|
const hasAudio = computed(
|
|
|
() =>
|
|
|
- currentTag.value.imageTextInfo.audio.ossPath &&
|
|
|
- currentTag.value.imageTextInfo.audio.ossPath.length > 0
|
|
|
+ currentTag.value.imageTextInfo?.audio.ossPath &&
|
|
|
+ currentTag.value.imageTextInfo?.audio.ossPath.length > 0
|
|
|
);
|
|
|
const scaleRate = ref(1);
|
|
|
const maxScaleRate = ref(5);
|