瀏覽代碼

修复bug

laiguoran 3 年之前
父節點
當前提交
14308b890f
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      app/view/change/project_information_modal.ejs

+ 1 - 3
app/view/change/project_information_modal.ejs

@@ -779,9 +779,7 @@
 <script>
     const accountGroup = JSON.parse(unescape('<%- escape(JSON.stringify(accountGroup)) %>'));
     const accountList = JSON.parse(unescape('<%- escape(JSON.stringify(accountList)) %>'));
-</script>
-<script>const cur_uid = parseInt('<%- ctx.session.sessionUser.accountId %>');</script>
-<script>
+    const cur_uid = parseInt('<%- ctx.session.sessionUser.accountId %>');
     $('.sp-location-list').on('shown.bs.modal', function () {
         const scrollBox = $(this).find('div[class="col-8 modal-height-500"]');
         const bdiv = (scrollBox.offset() && scrollBox.offset().top) || 0;