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

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

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