Commit 4625931f by damodmg

去掉图文详情的字数限制

parent 362d8ac6
......@@ -2,4 +2,4 @@
gio('init','8be12240a3749eab', {});
//custom page code begin here
//custom page code end here
gio('send');</script><link href=./static/css/app.fcd8248d24fbb0c77dd0c49b37151cf6.css rel=stylesheet></head><body><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.30.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.05.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.06.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.26.js></script><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.bf93010d9b9b1322a27b.js></script><script type=text/javascript src=./static/js/app.fac11edbe2b63316cacd.js></script></body></html>
\ No newline at end of file
gio('send');</script><link href=./static/css/app.b60e01b307e67355d1b907f849e78348.css rel=stylesheet></head><body><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.30.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.05.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.06.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.26.js></script><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.bf93010d9b9b1322a27b.js></script><script type=text/javascript src=./static/js/app.2147a2449eea48c8a935.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -683,12 +683,12 @@ export default {
}
}
//图文详情的大小限制
if (this.couponForm.detailDescription) {
if (this.couponForm.detailDescription.length > 5000) {
this.$message.error('图文详情输入内容不能超过5000');
return false;
}
}
// if (this.couponForm.detailDescription) {
// if (this.couponForm.detailDescription.length > 5000) {
// this.$message.error('图文详情输入内容不能超过5000');
// return false;
// }
// }
if (this.couponForm.cardType === 2) {
//兑换券必须上传主图
if (this.couponForm.images.length === 0) {
......
......@@ -1389,12 +1389,12 @@ export default {
return false;
}
}
if (this.giftForm.detailDescription) {
if (this.giftForm.detailDescription.length > 5000) {
this.$message.error('图文详情输入内容不能超过5000');
return false;
}
}
// if (this.giftForm.detailDescription) {
// if (this.giftForm.detailDescription.length > 5000) {
// this.$message.error('图文详情输入内容不能超过5000');
// return false;
// }
// }
// if (this.toggleTag && !this.getSaveData) {
// this.$message.error('请选中人群筛选器的数据');
// return false;
......
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 to comment