pref: form validation optimization of journal edit form. (halo-dev/console#221)

pull/3445/head
Ryan Wang 2020-08-04 21:23:43 +08:00 committed by GitHub
parent 4e4a7ea940
commit 18ab2bd757
1 changed files with 2 additions and 2 deletions

View File

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