|
@@ -8,6 +8,7 @@ import UpFileOne from "@/components/Z_upFileOne";
|
|
import { B2_APIgetInfo, B2_APIsave } from "@/store/action/B2Goods";
|
|
import { B2_APIgetInfo, B2_APIsave } from "@/store/action/B2Goods";
|
|
import { MessageFu } from "@/utils/message";
|
|
import { MessageFu } from "@/utils/message";
|
|
import RichText from "@/components/Z_RicjText";
|
|
import RichText from "@/components/Z_RicjText";
|
|
|
|
+import TextArea from "antd/es/input/TextArea";
|
|
|
|
|
|
type Props = {
|
|
type Props = {
|
|
editId: number;
|
|
editId: number;
|
|
@@ -164,14 +165,15 @@ function B2Edit({ editId, isLook, closeFu, editFu, addFu, myType }: Props) {
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<Form.Item
|
|
<Form.Item
|
|
- label="模型"
|
|
|
|
|
|
+ label="模型链接"
|
|
name="modelUrl"
|
|
name="modelUrl"
|
|
getValueFromEvent={(e) => e.target.value.replace(/\s+/g, "")}
|
|
getValueFromEvent={(e) => e.target.value.replace(/\s+/g, "")}
|
|
>
|
|
>
|
|
- <Input
|
|
|
|
- maxLength={45}
|
|
|
|
|
|
+ <TextArea
|
|
|
|
+ autoSize
|
|
|
|
+ placeholder="请输入内容"
|
|
showCount
|
|
showCount
|
|
- placeholder={isLook ? "(空)" : "请输入模型链接"}
|
|
|
|
|
|
+ maxLength={200}
|
|
/>
|
|
/>
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
|