提交 1d329fd8 编写于 作者: D DebugIsFalse

Merge branch 'main' of gitcode.com:git_bot/ai-fe

...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
:disabled="!continueQuestion" :disabled="!continueQuestion"
trailing-icon="i-heroicons-chevron-right-20-solid" trailing-icon="i-heroicons-chevron-right-20-solid"
size="xl" size="xl"
@click="handleAsk" @click.stop="handleAsk"
/> />
<UTooltip v-else text="停止生成"> <UTooltip v-else text="停止生成">
<UButton <UButton
...@@ -56,7 +56,7 @@ const cardUI = { ...@@ -56,7 +56,7 @@ const cardUI = {
padding: '', padding: '',
base: 'flex items-end has-[textarea[rows="1"]]:items-center pl-4 pr-1 py-1 gap-2' base: 'flex items-end has-[textarea[rows="1"]]:items-center pl-4 pr-1 py-1 gap-2'
}, },
base: 'transition-[width] w-3/5 has-[textarea:focus]:w-full', base: 'transition-[width] w-3/5 has-[textarea:focus]:w-full has-[button:focus]:w-full',
rounded: 'rounded has-[textarea[rows="1"]]:rounded-full' rounded: 'rounded has-[textarea[rows="1"]]:rounded-full'
} }
defineShortcuts({ defineShortcuts({
......
...@@ -23,8 +23,8 @@ const request = async (url, options = {}) => { ...@@ -23,8 +23,8 @@ const request = async (url, options = {}) => {
if (process.client && (status === 401 || status === 403)) { if (process.client && (status === 401 || status === 403)) {
// 全局弹提示 // 全局弹提示
let title let title
if (status === 401) title = '抱歉,您没有权限操作' if (status === 401) title = '抱歉,您尚未登录'
else if (status === 403) title = '抱歉,您没有权限访问当前内容' else if (status === 403) title = '抱歉,您没有权限'
nextTick(() => { nextTick(() => {
const toast = useToast() const toast = useToast()
toast.add({ toast.add({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册