add copy
This commit is contained in:
1 parent
c38d6ba67c
commit
62ec02e6c9
9 files changed
+202
-483
No files matched your search
@@ -65,7 +65,7 @@ import {
|
||||
IApplicationType
|
||||
} from '@/operators';
|
||||
import { ROUTE_AUTH_LOGIN, ROUTE_CONVERSATION_DETAIL } from '@/router/constants';
|
||||
import { ERROR_CODE_DUPLICATION, ERROR_CODE_UNVERIFIED } from '@/constants';
|
||||
import { ERROR_CODE_DUPLICATION, ERROR_CODE_UNKNOWN, ERROR_CODE_UNVERIFIED } from '@/constants';
|
||||
import { getVerificationUrl } from '@/utils';
|
||||
import { IConversation } from '@/operators/conversation/models';
|
||||
import Introduction from '@/components/conversation/Introduction.vue';
|
||||
@@ -334,6 +334,12 @@ export default defineComponent({
|
||||
if (this.messages && this.messages.length > 0) {
|
||||
this.messages[this.messages.length - 1].error = data;
|
||||
}
|
||||
} else {
|
||||
if (this.messages && this.messages.length > 0) {
|
||||
this.messages[this.messages.length - 1].error = {
|
||||
code: ERROR_CODE_UNKNOWN
|
||||
};
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user