mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
Inform (#4307)
* add manager change memberName and update inform UI * change icon and some inform ui * change for comment * fix for comment
This commit is contained in:
@@ -17,13 +17,15 @@ export const useEditTextarea = ({
|
||||
tip,
|
||||
placeholder = '',
|
||||
canEmpty = true,
|
||||
valueRule
|
||||
valueRule,
|
||||
rows = 10
|
||||
}: {
|
||||
title: string;
|
||||
tip?: string;
|
||||
placeholder?: string;
|
||||
canEmpty?: boolean;
|
||||
valueRule?: (val: string) => string | void;
|
||||
rows?: number;
|
||||
}) => {
|
||||
const { t } = useTranslation();
|
||||
const { isOpen, onOpen, onClose } = useDisclosure();
|
||||
@@ -105,7 +107,7 @@ export const useEditTextarea = ({
|
||||
placeholder={placeholder}
|
||||
autoFocus
|
||||
maxLength={maxLength}
|
||||
rows={10}
|
||||
rows={rows}
|
||||
bg={'myGray.50'}
|
||||
/>
|
||||
</ModalBody>
|
||||
|
Reference in New Issue
Block a user