laiguoran пре 7 година
родитељ
комит
97cba1968b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/controller/lib_controller.js

+ 1 - 1
app/controller/lib_controller.js

@@ -229,7 +229,7 @@ module.exports = app => {
                     throw '不存在该标段';
                 }
                 //删清指标源和清单数据
-                const result = ctx.service.quotaLib.deleteLibById(id);
+                const result = await ctx.service.quotaLib.deleteLibById(id);
 
                 if (!result) {
                     throw '删除标段失败';