pref: form validation optimization of journal edit form. (#221)

pull/223/head
Ryan Wang 2020-08-04 21:23:43 +08:00 committed by GitHub
parent e5092a027a
commit c2864ef695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
slot="action"
title="内容将保存到页面/所有页面/日志页面"
>
<a-icon type="info-circle-o" />
<a-icon type="info-circle-o" class="cursor-pointer"/>
</a-tooltip>
</template>
<a-form-model
@ -52,7 +52,7 @@ export default {
form: {
model: {},
rules: {
sourceContent: [{ required: true, message: '* 内容不能为空', trigger: ['change', 'blur'] }]
sourceContent: [{ required: true, message: '* 内容不能为空', trigger: ['change'] }]
},
saving: false,
errored: false