|
@@ -1,6 +1,6 @@
|
|
|
<script setup>
|
|
|
import { useStore } from "vuex";
|
|
|
-import { ref, reactive, onMounted } from 'vue'
|
|
|
+import { ref, reactive, onMounted,onActivated } from 'vue'
|
|
|
import { useRouter } from "vue-router";
|
|
|
import { ElMessage,ElMessageBox } from 'element-plus'
|
|
|
import moment from 'moment'
|
|
@@ -236,6 +236,15 @@ onMounted(()=>{
|
|
|
}
|
|
|
})
|
|
|
})
|
|
|
+
|
|
|
+onActivated(()=>{//解决从详情返回到列表 分享时还是详情问题
|
|
|
+ wx.miniProgram.postMessage({
|
|
|
+ data: {
|
|
|
+ title:'事件日历',
|
|
|
+ path:`/pages/forexCalendar/index`,
|
|
|
+ }
|
|
|
+ })
|
|
|
+})
|
|
|
</script>
|
|
|
|
|
|
<template>
|