2213980799@qq.com hace 1 año
padre
commit
45fc1eb7f4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/doc/util.js

+ 1 - 1
src/views/doc/util.js

@@ -53,7 +53,7 @@ export function isPower(data = {}, power, selection = []) {
     }
 }
 export function isCheckOut(data = {}) { //检出判断
-    if (data?.checkOutStatus == 1) {
+    if (data?.checkOutStatus == 1&&userId!=data.checkOutUserId) {
         return true
     }
 }