|
@@ -13,6 +13,7 @@
|
|
|
<div
|
|
|
class="msg-content__inner"
|
|
|
v-html="curMsg"
|
|
|
+ @click="emits('back')"
|
|
|
/>
|
|
|
<img
|
|
|
style="width: 100%"
|
|
@@ -30,7 +31,7 @@
|
|
|
import { computed, onBeforeUnmount, watch } from 'vue'
|
|
|
|
|
|
const props = defineProps(['list', 'curIndex'])
|
|
|
-const emits = defineEmits(['update:cur-index', 'end'])
|
|
|
+const emits = defineEmits(['update:cur-index', 'end', 'back'])
|
|
|
|
|
|
const _curIndex = computed({
|
|
|
get() {
|