浏览代码

修复bug

laiguoran 4 年之前
父节点
当前提交
ba20a34784
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      app/controller/change_controller.js

+ 0 - 1
app/controller/change_controller.js

@@ -833,7 +833,6 @@ module.exports = app => {
                     if (!ctx.helper._.isEqual(lastUidList, nowUidList) && !ctx.helper._.includes(noYBUidList, lastUidList[0]) && ctx.helper._.includes(ctx.helper._.tail(nowUidList), nowUidList[0])) {
                         throw '该变更令不能指定原报为审批人,请移除';
                     }
-                    throw 'hello';
                 }
                 await ctx.service.changeAudit.start(ctx.change.cid, ctx.change.times);
                 ctx.redirect(ctx.request.header.referer);