diff --git a/src/main/webapp/WEB-INF/manager/include/head-file.ftl b/src/main/webapp/WEB-INF/manager/include/head-file.ftl index f6d6d64f..493ac74c 100644 --- a/src/main/webapp/WEB-INF/manager/include/head-file.ftl +++ b/src/main/webapp/WEB-INF/manager/include/head-file.ftl @@ -43,12 +43,20 @@ ms.manager = "${managerPath}"; ms.web = ms.base; - // ms.base = "http://192.168.0.54:85"; - // ms.manager = "http://192.168.0.54:85/apis/ms"; - // ms.web = "http://192.168.0.54:85/apis"; + // ms.base = "http://192.168.0.54:82"; + // ms.manager = "http://192.168.0.54:82/apis/ms"; + // ms.web = "http://192.168.0.54:82/apis"; //图片懒加载 Vue.use(VueLazyload, { error: ms.base + '/images/ic_image_deault.png', loading: ms.base + '/images/ic_image_deault.png', - }) + }) + + // 测试使用 ==> 微信其他接口走之前需要先走这个接口 + ms.http.get(ms.manager + "/mweixin/11/function.do") + .then((res) => { + console.log('微信登录接口', true); + }, (err) => { + console.log(err) + }) \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/manager/mweixin/menu/index.ftl b/src/main/webapp/WEB-INF/manager/mweixin/menu/index.ftl index b16b95eb..9d16c4e6 100644 --- a/src/main/webapp/WEB-INF/manager/mweixin/menu/index.ftl +++ b/src/main/webapp/WEB-INF/manager/mweixin/menu/index.ftl @@ -23,7 +23,7 @@ menu.menuTitle }} @@ -106,6 +106,7 @@ activeName: "picture", //导航切换 当前激活面板 mainMenuList: [], subMenuList: [],//所有的子菜单 + currentSubMenuList:[],//打开当前父菜单的子菜单列表 }, methods: { menuList: function () { @@ -156,9 +157,12 @@ openSubMenu(index,menu){ this.closeAllSubMenu(index); this.$set(menu,'subMenuList',[]) + console.log('menu',menu); var that = this; + that.currentSubMenuList = []; + console.log('that.subMenuList',that.subMenuList); that.subMenuList.forEach(function(item,index){ - item.menuMenuId == menuId && that.subMenuList.push(item) + item.menuMenuId == menu.menuId && that.currentSubMenuList.push(item) }) }, // 关闭所有的子菜单弹出层 diff --git a/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl b/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl index 09c4b5bd..5e352634 100644 --- a/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl +++ b/src/main/webapp/WEB-INF/manager/mweixin/weixin.ftl @@ -1,32 +1,24 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file