feat: 调整
This commit is contained in:
@@ -14,7 +14,7 @@ export async function loginAuth() {
|
|||||||
username: 'admin',
|
username: 'admin',
|
||||||
password: 'YehdBPev'
|
password: 'YehdBPev'
|
||||||
});
|
});
|
||||||
if (response.success) {
|
if (response.access_token) {
|
||||||
return response.data;
|
return response.data;
|
||||||
} else {
|
} else {
|
||||||
throw new Error(response.message || '登录失败');
|
throw new Error(response.message || '登录失败');
|
||||||
|
|||||||
@@ -59,7 +59,8 @@
|
|||||||
"setting" : {
|
"setting" : {
|
||||||
"urlCheck" : false
|
"urlCheck" : false
|
||||||
},
|
},
|
||||||
"usingComponents" : true
|
"usingComponents" : true,
|
||||||
|
"permission" : {}
|
||||||
},
|
},
|
||||||
"mp-alipay" : {
|
"mp-alipay" : {
|
||||||
"usingComponents" : true
|
"usingComponents" : true
|
||||||
|
|||||||
@@ -26,11 +26,15 @@
|
|||||||
</ChatCardAI>
|
</ChatCardAI>
|
||||||
|
|
||||||
<view class="area-msg-list-content" v-for="item in chatMsgList" :key="item.msgId" :id="item.msgId">
|
<view class="area-msg-list-content" v-for="item in chatMsgList" :key="item.msgId" :id="item.msgId">
|
||||||
|
<CommandWrapper text="ssss"/>
|
||||||
|
|
||||||
<template v-if="item.msgType === MessageRole.AI">
|
<template v-if="item.msgType === MessageRole.AI">
|
||||||
<ChatCardAI class="message-item message-item-ai" :text="item.msg">
|
<ChatCardAI class="message-item message-item-ai" :text="item.msg">
|
||||||
<image v-if="item.msgContent && item.msgContent.type === MessageType.IMAGE" src="/static/logo.png" style="width: 100px;height: 100px;"></image>
|
<image v-if="item.msgContent && item.msgContent.type === MessageType.IMAGE" src="/static/logo.png" style="width: 100px;height: 100px;"></image>
|
||||||
<OneFeelMK001></OneFeelMK001>
|
<OneFeelMK001></OneFeelMK001>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ChatCardAI>
|
</ChatCardAI>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -74,6 +78,7 @@
|
|||||||
import ChatQuickAccess from './ChatQuickAccess.vue';
|
import ChatQuickAccess from './ChatQuickAccess.vue';
|
||||||
import ChatMoreTips from './ChatMoreTips.vue';
|
import ChatMoreTips from './ChatMoreTips.vue';
|
||||||
import ChatInputArea from './ChatInputArea.vue'
|
import ChatInputArea from './ChatInputArea.vue'
|
||||||
|
import CommandWrapper from '@/components/CommandWrapper/index.vue'
|
||||||
|
|
||||||
import { MessageRole, ChatModel, MessageType } from '../../model/ChatModel';
|
import { MessageRole, ChatModel, MessageType } from '../../model/ChatModel';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user