From e347a0d17b58b946e4260f05b569ba8f94225306 Mon Sep 17 00:00:00 2001 From: lyx <2027667395@qq.com> Date: Thu, 14 Mar 2024 16:35:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B7=A5=E5=8D=95=E5=AE=8C=E6=88=90=20f?= =?UTF-8?q?ix=20#371=20fix=20#370?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugin-rental/src/server/actions/waybills-controller.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/plugins/@hera/plugin-rental/src/server/actions/waybills-controller.ts b/packages/plugins/@hera/plugin-rental/src/server/actions/waybills-controller.ts index 1aec97d33..c13af4d1e 100644 --- a/packages/plugins/@hera/plugin-rental/src/server/actions/waybills-controller.ts +++ b/packages/plugins/@hera/plugin-rental/src/server/actions/waybills-controller.ts @@ -29,7 +29,6 @@ export class WaybillsController { if (Number(margingTop)) { settings['margingTop'] = Number(margingTop); } else { - // 查询当前用户信息 const currentUser = await ctx.db.getRepository('users').findOne({ filter: { id: ctx.state.currentUser.id } }); settings['margingTop'] = Number(currentUser?.pdf_top_margin) || 0; }