|
@@ -104,8 +104,8 @@ export default {
|
|
|
// 调用save时,应写成save(),给不给参数均可,不写小括号的话,isAdd会是事件源,则为true
|
|
|
this.$refs.form.validate((valid) => {
|
|
|
if (valid) {
|
|
|
- if (ruleDetails && ruleDetails.length > 100000) {
|
|
|
- this.$message.error("规则详情长度不得超过100000");
|
|
|
+ if (ruleDetails && ruleDetails.length > 1000000) {
|
|
|
+ this.$message.error("规则详情长度不得超过100万!");
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -220,4 +220,4 @@ export default {
|
|
|
padding-top: 30px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|