Browse Source

修复bug

laiguoran 3 years atrás
parent
commit
14308b890f
1 changed files with 1 additions and 3 deletions
  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;