修改宣教库
This commit is contained in:
parent
f5dfd8af6a
commit
2fbbc70c1a
@ -1486,11 +1486,15 @@ export default {
|
||||
submitForm() {
|
||||
// return
|
||||
console.log(this.form)
|
||||
if (this.form.propagandaContent.length - 7 > this.maxLength) {
|
||||
if(this.form.propagandaContent && this.form.propagandaContent.length - 7 > this.maxLength){
|
||||
// if (this.form.propagandaContent.length - 7 > this.maxLength) {
|
||||
this.$message({
|
||||
type: "error",
|
||||
message: "已达到最大输入长度"
|
||||
});
|
||||
|
||||
// }
|
||||
|
||||
}else{
|
||||
|
||||
this.$refs["form"].validate(valid => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user