Commit b637e69d by hank

发布限制

parent 443a03ed
...@@ -816,6 +816,10 @@ export default { ...@@ -816,6 +816,10 @@ export default {
return filmId; return filmId;
}, },
enterSubmit() { enterSubmit() {
if (Object.values(this.$store.getters.errorData).length) {
alert('当前编辑项数据不符合定义规则,请修改后发布!')
return
}
this.$toast.loading({ this.$toast.loading({
overlay: true, overlay: true,
message: "加载中...", message: "加载中...",
......
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 sign in to comment