Commit e677a828 authored by Asjoker's avatar Asjoker

“支付币种”长度限制修改

parent dff43f04
...@@ -3324,9 +3324,10 @@ export default { ...@@ -3324,9 +3324,10 @@ export default {
console.log(error) console.log(error)
}) })
}, },
// 根据文档中“支付币种”长度限制为100,计算得出最多可选
changeMultiple(label, data) { changeMultiple(label, data) {
if (data.length > 7) { if (data.length > 25) {
this.$message.warning('最多只能选7个' + label) this.$message.warning('最多只能选25个' + label)
data.splice(-1) data.splice(-1)
} }
}, },
......
...@@ -3199,8 +3199,8 @@ export default { ...@@ -3199,8 +3199,8 @@ export default {
}) })
}, },
changeMultiple(label, data) { changeMultiple(label, data) {
if (data.length > 7) { if (data.length > 25) {
this.$message.warning('最多只能选7个' + label) this.$message.warning('最多只能选25个' + label)
data.splice(-1) data.splice(-1)
} }
}, },
......
...@@ -459,7 +459,7 @@ ...@@ -459,7 +459,7 @@
autocomplete="off" autocomplete="off"
rows="7" rows="7"
show-word-limit show-word-limit
maxlength="450" maxlength="500"
style="resize: none;min-height: 28px;width: 96% " style="resize: none;min-height: 28px;width: 96% "
/> />
</el-form-item> </el-form-item>
...@@ -567,7 +567,7 @@ ...@@ -567,7 +567,7 @@
autocomplete="off" autocomplete="off"
rows="7" rows="7"
show-word-limit show-word-limit
maxlength="450" maxlength="500"
style="resize: none;min-height: 28px;width: 96% " style="resize: none;min-height: 28px;width: 96% "
/> />
</el-form-item> </el-form-item>
...@@ -2486,8 +2486,8 @@ export default { ...@@ -2486,8 +2486,8 @@ export default {
} }
}, },
changeMultiple(label, data) { changeMultiple(label, data) {
if (data.length > 7) { if (data.length > 25) {
this.$message.warning('最多只能选7个' + label) this.$message.warning('最多只能选25个' + label)
data.splice(-1) data.splice(-1)
} }
}, },
......
...@@ -2628,8 +2628,8 @@ export default { ...@@ -2628,8 +2628,8 @@ export default {
}) })
}, },
changeMultiple(label, data) { changeMultiple(label, data) {
if (data.length > 7) { if (data.length > 25) {
this.$message.warning('最多只能选7个' + label) this.$message.warning('最多只能选25个' + label)
data.splice(-1) data.splice(-1)
} }
}, },
......
...@@ -2888,8 +2888,8 @@ export default { ...@@ -2888,8 +2888,8 @@ export default {
}) })
}, },
changeMultiple(label, data) { changeMultiple(label, data) {
if (data.length > 7) { if (data.length > 25) {
this.$message.warning('最多只能选7个' + label) this.$message.warning('最多只能选25个' + label)
data.splice(-1) data.splice(-1)
} }
}, },
......
...@@ -2685,8 +2685,8 @@ export default { ...@@ -2685,8 +2685,8 @@ export default {
}) })
}, },
changeMultiple(label, data) { changeMultiple(label, data) {
if (data.length > 7) { if (data.length > 25) {
this.$message.warning('最多只能选7个' + label) this.$message.warning('最多只能选25个' + label)
data.splice(-1) data.splice(-1)
} }
}, },
......
...@@ -3024,8 +3024,8 @@ export default { ...@@ -3024,8 +3024,8 @@ export default {
}) })
}, },
changeMultiple(label, data) { changeMultiple(label, data) {
if (data.length > 7) { if (data.length > 25) {
this.$message.warning('最多只能选7个' + label) this.$message.warning('最多只能选25个' + label)
data.splice(-1) data.splice(-1)
} }
}, },
......
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