修复前端的缓存页面

pull/2/head
李强 2021-03-15 22:42:59 +08:00
parent 44c76ada8d
commit 5fbaa97cad
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class GetRouters(APIView):
for ele in menus:
data.append({
'id': ele.get('id'),
'name': ''.join([i.capitalize() for i in ele.get('web_path', '').split('/')]),
'name': ele.get('web_path', '').split('/')[-1] and ele.get('web_path', '').split('/')[-1].capitalize(),
'path': ele.get('web_path'),
'hidden': True if ele.get('visible') != '1' else False,
'redirect': ele.get('web_path') if ele.get('isFrame') == '1' else 'noRedirect',

View File

@ -206,7 +206,7 @@
import Editor from '@/components/Editor';
export default {
name: "message",
name: "Message",
components: {
Editor
},