管理后台 server 使用蓝图模式,降低维护成本,降低修改功能时对其他模块的影响
This commit is contained in:
@@ -195,7 +195,7 @@
|
||||
// 根据当前页面路径决定是否显示时间范围选择器
|
||||
const path = window.location.pathname;
|
||||
// 只在统计相关页面显示时间范围选择器
|
||||
this.showTimeRangeSelector = ['/', '/plugins', '/users', '/groups','/robot_management','/errors'].includes(path);
|
||||
this.showTimeRangeSelector = ['/', '/plugins', '/users', '/groups','/robot','/errors'].includes(path);
|
||||
},
|
||||
methods: {
|
||||
handleSelect(key, keyPath) {
|
||||
@@ -207,7 +207,7 @@
|
||||
'3': '/users',
|
||||
'4': '/groups',
|
||||
'5': '/errors',
|
||||
'6': '/robot_management',
|
||||
'6': '/robot',
|
||||
'7': '/messages',
|
||||
'9': '/wx_logs',
|
||||
'10': '/contacts'
|
||||
|
||||
Reference in New Issue
Block a user