feat:更新个人主页模块
This commit is contained in:
@@ -32,6 +32,7 @@ class _MomentFormPageState extends State<MomentFormPage> {
|
||||
|
||||
return FormBuilderTextField(
|
||||
name: _contentField,
|
||||
initialValue: provider.momentFormItem.content,
|
||||
focusNode: _focusNode,
|
||||
maxLines: 5,
|
||||
minLines: 3,
|
||||
@@ -110,7 +111,7 @@ class _MomentFormPageState extends State<MomentFormPage> {
|
||||
_buildContentField(provider),
|
||||
const SizedBox(height: 8),
|
||||
|
||||
buildFormLabel(context: context, text: '上传图片', isRequired: false),
|
||||
buildFormLabel(context: context, text: '上传图片(最多9张)', isRequired: false),
|
||||
const SizedBox(height: 8),
|
||||
_buildImageField(provider),
|
||||
const SizedBox(height: 8),
|
||||
@@ -218,7 +219,6 @@ class _MomentFormPageState extends State<MomentFormPage> {
|
||||
onPressed: () => Navigator.pop(context),
|
||||
),
|
||||
),
|
||||
backgroundColor: const Color(0xFFF5F5F5),
|
||||
body: SingleChildScrollView(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(10),
|
||||
|
||||
Reference in New Issue
Block a user