官网上传图片大小限制取消
This commit is contained in:
parent
ba5847d086
commit
b1f065de8f
@ -275,9 +275,11 @@ export default {
|
|||||||
this.$refs.fileInput.value = "";
|
this.$refs.fileInput.value = "";
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.data.msg);
|
this.$message.error(res.data.msg);
|
||||||
|
this.$refs.fileInput.value = "";
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
this.$refs.fileInput.value = "";
|
||||||
this.$message.error("插入图片失败");
|
this.$message.error("插入图片失败");
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -287,9 +287,11 @@ detailedIntroductionTextEnTitle:'',
|
|||||||
this.$refs.fileInput.value = "";
|
this.$refs.fileInput.value = "";
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.data.msg);
|
this.$message.error(res.data.msg);
|
||||||
|
this.$refs.fileInput.value = "";
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
this.$refs.fileInput.value = "";
|
||||||
this.$message.error("插入图片失败");
|
this.$message.error("插入图片失败");
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -265,9 +265,11 @@ detailedIntroductionTextEnTitle:'',
|
|||||||
this.$refs.fileInput.value = "";
|
this.$refs.fileInput.value = "";
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.data.msg);
|
this.$message.error(res.data.msg);
|
||||||
|
this.$refs.fileInput.value = "";
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
this.$refs.fileInput.value = "";
|
||||||
this.$message.error("插入图片失败");
|
this.$message.error("插入图片失败");
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -453,9 +453,11 @@ export default {
|
|||||||
this.$refs.fileInput.value = "";
|
this.$refs.fileInput.value = "";
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.data.msg);
|
this.$message.error(res.data.msg);
|
||||||
|
this.$refs.fileInput.value = "";
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
this.$refs.fileInput.value = "";
|
||||||
this.$message.error("插入图片失败");
|
this.$message.error("插入图片失败");
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -590,8 +590,10 @@ productId: "",
|
|||||||
this.$refs.fileInput1.value = "";
|
this.$refs.fileInput1.value = "";
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.data.msg);
|
this.$message.error(res.data.msg);
|
||||||
|
this.$refs.fileInput.value = "";
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
|
this.$refs.fileInput.value = "";
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.$message.error("插入图片失败");
|
this.$message.error("插入图片失败");
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user