This commit is contained in:
yanran200730
2021-12-08 20:29:47 +08:00
parent e3402dc801
commit a2b527749d

View File

@@ -43,6 +43,7 @@ import AiTopFixed from "../../../components/AiTopFixed";
import AiBack from "../../../components/AiBack"; import AiBack from "../../../components/AiBack";
import AiEmpty from "../../../components/AiEmpty"; import AiEmpty from "../../../components/AiEmpty";
import AiOpenData from "../../../components/AiOpenData"; import AiOpenData from "../../../components/AiOpenData";
import {mapActions} from "vuex";
export default { export default {
name: "belongToMe", name: "belongToMe",
@@ -68,7 +69,12 @@ export default {
}, },
created() { created() {
document.title = "我发起的"; document.title = "我发起的";
this.getList() this.$loading()
this.injectJWeixin(['sendChatMessage']).then(() => {
this.getList()
}).catch(() => {
this.$hideLoading()
})
}, },
methods: { methods: {
emitReachBottom() { emitReachBottom() {
@@ -98,6 +104,10 @@ export default {
} }
this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
} }
this.$hideLoading()
}).catch(() => {
this.$hideLoading()
}) })
}, },
handleClick({id}) { handleClick({id}) {