miniprogram/pages/question/question.ts
@@ -7,10 +7,6 @@ roleImageMap } from "@/model/chat/types"; import { CHAT_GROUP_DATA, TEST_DATA } from "./testData"; import { TAB_BAR_HEIGHT } from "@/custom-tab-bar/constants"; import { @@ -502,6 +498,11 @@ this.getHistoryGroupData(); this.getSampleList(); }, onShow(){ this.setData({ userName:getStorage('username') }) }, async onRouteDone() { const sectionAId = app.globalData.sectionAId; @@ -530,6 +531,7 @@ app.globalData.sectionAId = ''; app.globalData.sectionB = null; } // pageLifetimes: { // show() {