Explorar el Código

修复单位列表更新允许修改基础单位相关属性的bug

wangyang hace 4 años
padre
commit
f88824ee6a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/unit/index.vue

+ 1 - 1
src/views/unit/index.vue

@@ -231,7 +231,7 @@ export default {
     handleCommand(data) {
       switch (data.command) {
         case 'update':
-          this.handleCreateOrUpdate('update', data.row)
+          this.handleCreateOrUpdate('UPDATE', data.row)
           break
         case 'moveUp':
           this.updateSort(data.row, 0)