Commit 2fa3afdd authored by derong.zhang's avatar derong.zhang

限制0

parent fe6b48d0
...@@ -967,7 +967,7 @@ export default { ...@@ -967,7 +967,7 @@ export default {
this.changedivModal = false this.changedivModal = false
}, },
confireupdatenode () { confireupdatenode () {
if (this.updateweight == 0 || this.updateweight < 0) { if (this.updateweight < 0) {
this.$Message.error('只能输入正整数') this.$Message.error('只能输入正整数')
return false 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