修改宣教库

This commit is contained in:
shidongli 2024-04-23 17:08:51 +08:00
parent f5dfd8af6a
commit 2fbbc70c1a

View File

@ -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 => {