diff --git a/root/NEUIKit/pages/Chat/index.vue b/root/NEUIKit/pages/Chat/index.vue index 2eff01d..d11361d 100644 --- a/root/NEUIKit/pages/Chat/index.vue +++ b/root/NEUIKit/pages/Chat/index.vue @@ -26,6 +26,7 @@ " :conversation-type="conversationType" :to="to" + @exportPointJob="exportPointJob" /> @@ -69,6 +70,7 @@ import { V2NIMConst } from "nim-web-sdk-ng/dist/v2/NIM_UNIAPP_SDK"; const G = getCurrentInstance().appContext.app.config.globalProperties.G; const F = getCurrentInstance().appContext.app.config.globalProperties.F; const api = getCurrentInstance().appContext.app.config.globalProperties.api; +import { getList, query } from "../../components/list/job/api"; export interface YxReplyMsg { messageClientId: string; scene: V2NIMConst.V2NIMConversationType; @@ -460,6 +462,7 @@ onUnmounted(() => { connectedWatch(); msgsWatch(); conversationTypeWatch(); + uni.removeStorageSync('im_sendParams'); }); const query = ref({ page: 1, @@ -639,6 +642,10 @@ onUnload(() => { uni.$off(events.CONFIRM_FORWARD_MSG); uni.$off(events.CANCEL_FORWARD_MSG); }); + +const exportPointJob = ()=>{ + F.wyyxPost(api.wyyx_sendCard,JSON.parse(uni.getStorageSync('im_sendParams')),() => {},() => {}); +}