26061
This commit is contained in:
		
							
								
								
									
										4
									
								
								packages/3.0.0/AppNotice/components/Add.vue
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								packages/3.0.0/AppNotice/components/Add.vue
									
									
									
									
										vendored
									
									
								
							| @@ -15,7 +15,7 @@ | ||||
|               <el-input size="small" placeholder="请输入发布组织" :maxlength="50" v-model="form.publishUnitName"></el-input> | ||||
|             </el-form-item> | ||||
|             <el-form-item label="正文" style="width: 100%;" prop="content"> | ||||
|               <el-input size="small" placeholder="请输入正文" :rows="6" :maxlength="1000" type="textarea" v-model="form.content"></el-input> | ||||
|               <ai-editor v-model="form.content" :instance="instance" /> | ||||
|             </el-form-item> | ||||
|             <el-form-item label="图片" style="width: 100%;" prop="images"> | ||||
|               <ai-uploader v-model="form.images" :instance="instance" :limit="9" isShowTip></ai-uploader> | ||||
| @@ -80,7 +80,7 @@ | ||||
|       confirm () { | ||||
|         this.$refs.form.validate((valid) => { | ||||
|           if (valid) { | ||||
|             if (!this.form.content && !this.form.content) { | ||||
|             if (!this.form.content && !this.form.images.length) { | ||||
|               return this.$message.error('请输入正文或上传图片') | ||||
|             } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user