@@ -19,11 +19,7 @@ Vue.prototype.$ifMenu = (menuIndex, subMenuIndex) => {
}
};
Vue.prototype.$ifLeftMenu = (leftMenuIndex) => {
- if (leftMenuIndex) {
- return store.state.leftMenuIndex == leftMenuIndex;
- } else {
- return false;
- }
+ return store.state.leftMenuIndex == leftMenuIndex;
new Vue({
router,