From 02531632e9f43c5bc03cb55dee03344c2a68405d Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 13 Jun 2023 09:37:14 +0900 Subject: [PATCH] no message --- src/main/resources/application.yml | 1 + .../webapp/resources/js/base/menu-support-fims.js | 12 ++---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index d435e99d..c7f1b0cf 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,4 +1,5 @@ server: + port: 8016 servlet: context-path: /fims diff --git a/src/main/webapp/resources/js/base/menu-support-fims.js b/src/main/webapp/resources/js/base/menu-support-fims.js index 9a9e3fce..5b434dc3 100644 --- a/src/main/webapp/resources/js/base/menu-support-fims.js +++ b/src/main/webapp/resources/js/base/menu-support-fims.js @@ -1,14 +1,9 @@ /**메뉴의 생성과 선택 시 동작을 지원한다. */ class FimsMenuSupport extends MenuSupport { - /**새 MenuSupport를 생성한다. - * @param selector {string} 메뉴를 담을 컨테이너에 대한 css selector - */ + constructor(selector) { - this._container = document.querySelector(this._selector = selector); - this._horizontal = this._container && this._container.classList.contains('menu-horizontal'); - this._orientation = this._horizontal ? "horizontal" : "vertical"; - this._template = this._orientation + "-menu-template"; + super(selector); this._menuItem = ''; - - this._menuSub = ''; - this._menus = []; } }