Explorar o código

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

wangyang %!s(int64=4) %!d(string=hai) anos
pai
achega
f88824ee6a
Modificáronse 1 ficheiros con 1 adicións e 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)