This commit is contained in:
yanran200730
2021-12-08 18:01:40 +08:00
parent 38a08ff55e
commit fefc72c09f
8 changed files with 26 additions and 11 deletions

View File

@@ -73,6 +73,7 @@ import AiEmpty from "../../components/AiEmpty";
import AiTopFixed from "../../components/AiTopFixed";
import {add, detail, read} from "./components";
import AiOpenData from "../../components/AiOpenData";
import {mapActions} from "vuex";
export default {
name: "AppNotification",
@@ -139,6 +140,7 @@ export default {
},
methods: {
...mapActions(['injectJWeixin']),
emitShow() {
const {id} = this.$route.query
if (id) {
@@ -150,7 +152,9 @@ export default {
this.showList = false;
}
this.current = 1;
this.getList();
this.injectJWeixin(['sendChatMessage']).then(() => {
this.getList();
})
},
emitReachBottom() {
this.current = this.current + 1;

View File

@@ -77,7 +77,9 @@
}
},
created() {
this.getDetail();
this.injectJWeixin(['sendChatMessage']).then(() => {
this.getDetail()
})
},
mounted() {