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