Commit 8a75d451 authored by yyh's avatar yyh

模版封面必填校验

parent 3713520b
...@@ -88,6 +88,10 @@ export default class BaseInfo extends Vue { ...@@ -88,6 +88,10 @@ export default class BaseInfo extends Vue {
this.$toast('请输入模板名称'); this.$toast('请输入模板名称');
return; return;
} }
if (!imgUrl ) {
this.$toast('请上传模板封面');
return;
}
this.$emit('next', { this.$emit('next', {
templateName, templateName,
folder, folder,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment