perf: 走查调整

This commit is contained in:
rd
2025-08-15 16:22:59 +08:00
parent 997c765eaa
commit f27764e915
3 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<script lang="jsx"> <script lang="jsx">
import { Image, Spin, Button, Input, Textarea } from '@arco-design/web-vue'; import { Image, Spin, Button, Input, Textarea, Affix } from '@arco-design/web-vue';
import TextOverTips from '@/components/text-over-tips'; import TextOverTips from '@/components/text-over-tips';
import SvgIcon from '@/components/svg-icon/index.vue'; import SvgIcon from '@/components/svg-icon/index.vue';
import DeleteCommentModal from './delete-comment-modal.vue'; import DeleteCommentModal from './delete-comment-modal.vue';
@ -281,7 +281,7 @@ export default {
}; };
return () => ( return () => (
<section class="py-16px absolute right-16px w-440px h-full overflow-hidden"> <section class="py-16px fixed z-3 right-16px w-440px h-full overflow-hidden">
<div class="ai-suggest-box relative py-24px flex flex-col"> <div class="ai-suggest-box relative py-24px flex flex-col">
{!isEmpty(aiReview.value) && ( {!isEmpty(aiReview.value) && (
<div class="relative w-fit ml-24px mb-16px"> <div class="relative w-fit ml-24px mb-16px">

View File

@ -1,3 +1,4 @@
.ai-suggest-box { .ai-suggest-box {
width: 440px; width: 440px;
height: fit-content; height: fit-content;

View File

@ -116,7 +116,7 @@ export default {
}} }}
> >
<Form ref={formRef} rules={rules} model={formData.value} auto-label-width> <Form ref={formRef} rules={rules} model={formData.value} auto-label-width>
<FormItem label="有效期" prop="days" row-class="items-center"> <FormItem label="有效期" prop="days" row-class="!items-center">
<CommonSelect <CommonSelect
v-model={formData.value.days} v-model={formData.value.days}
options={OPTIONS} options={OPTIONS}
@ -130,7 +130,7 @@ export default {
<FormItem <FormItem
label="分享对象" label="分享对象"
prop="receiver" prop="receiver"
row-class="items-center" row-class="!items-center"
v-slots={{ v-slots={{
label: () => ( label: () => (
<div class="flex items-center"> <div class="flex items-center">