Commit 48f03a5c by 吴云建

fix

parent 383d54c9
......@@ -106,7 +106,6 @@ export default class ChatTitle extends Vue {
private async addMemberForMyself() {
try {
console.log("====>>>??")
await this._addMember([this.operatorUid.toString()]);
} catch (error) {
console.error(error);
......
......@@ -109,7 +109,6 @@ export default class WorkFlow extends Vue {
public async created() {
this.flowList = await sdk().model(this.model_name).workflow2().queryProcessByAssociateId(+this.id);
console.log("=======>>>>workflow", this.flowList);
}
public start(workflow: any) {
......
......@@ -139,9 +139,9 @@
"integrity": "sha1-x+lqB2wWghN9TSOo3P3GPyIOF6g="
},
"wamp.js": {
"version": "0.3.0",
"resolved": "http://npm.job.qinqinxiaobao.com/wamp.js/-/wamp.js-0.3.0.tgz",
"integrity": "sha512-a3S/yKKzlV19ZjEmkgla5q6P2BYKvA3ZBtMsolmJzSe7KHz5lyn8gCVy2ME2l9Mqunl4MR7vyut/cEyunj7Yew==",
"version": "0.3.2",
"resolved": "http://npm.job.qinqinxiaobao.com/wamp.js/-/wamp.js-0.3.2.tgz",
"integrity": "sha512-XZCYVhFKbco3kTUqirYf+b6xwadhK6Yl1sflrFNr4M7OsVmj8JQcTNoBv6zKDzzABNuvmuSFP7vomsDKpU+pbg==",
"requires": {
"tweetnacl": "^1.0.1",
"ws": "^7.1.0"
......@@ -153,11 +153,11 @@
"integrity": "sha1-Fgg1tjx9l7+rQY/BuKn87SrAGnQ="
},
"xchat-client": {
"version": "2.1.9",
"resolved": "http://npm.job.qinqinxiaobao.com/xchat-client/-/xchat-client-2.1.9.tgz",
"integrity": "sha512-eCYC7rOO9EkKyBNHY/Ak6fp/CEOtsa033TJUZoQh7gYM0JJemYgVIfOQLJxmWAfp3QTvMBC/eBD+ozB4UUR9Jg==",
"version": "2.2.1",
"resolved": "http://npm.job.qinqinxiaobao.com/xchat-client/-/xchat-client-2.2.1.tgz",
"integrity": "sha512-AK5Wye6Eex6JV+PoA5H1N0Jen3wwzZ9mb9IC/HQJUhYUEFTF99N62nImPqDTARHp4KEHFm3JHbmPf6cZvSBEKw==",
"requires": {
"wamp.js": "0.3.0"
"wamp.js": "0.3.2"
}
}
}
......
......@@ -299,10 +299,6 @@ export default {
state,
commit,
}) /* ...params: Parameters<ChatStore.ACTION_GET_MY_CHAT_LIST> */ {
if (!state[ChatStore.STATE_CHAT_CURRENT_USER_UID]) {
const userInfo = await sdk().getUserInfo();
commit(ChatStore.MUTATION_SET_CURRENT_USER_UID, userInfo.id);
}
const data = await xim.fetchChatList();
if (data == null) return;
const chatList = data.args[0];
......@@ -540,7 +536,10 @@ export default {
commit(ChatStore.MUTATION_CLEAR_SINGLE_CHAT);
}
console.log("============>>>", wantedChatRoom);
if (!state[ChatStore.STATE_CHAT_CURRENT_USER_UID]) {
const userInfo = await sdk().getUserInfo();
commit(ChatStore.MUTATION_SET_CURRENT_USER_UID, userInfo.id);
}
const info = await getChatModelInfo(
wantedChatRoom.business_data.model_name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment