diff --git "a/Vol.Vue3\347\211\210\346\234\254/src/components/basic/ViewGrid/methods.js" "b/Vol.Vue3\347\211\210\346\234\254/src/components/basic/ViewGrid/methods.js" index bccf392a209bfcf3c642115b1ceb342a141448b0..a3e1775e09bd4350663dfeee42591558d2de8281 100644 --- "a/Vol.Vue3\347\211\210\346\234\254/src/components/basic/ViewGrid/methods.js" +++ "b/Vol.Vue3\347\211\210\346\234\254/src/components/basic/ViewGrid/methods.js" @@ -825,7 +825,10 @@ let methods = { } if (rows.length == 0) { return this.$error("请选择要编辑的行!"); + }else if(rows.length > 1){ + return this.$error("有且只能选择一行!"); } + //记录当前编辑的行 this.currentRow = rows[0]; //初始化弹出框