修复前端的缓存页面
parent
44c76ada8d
commit
5fbaa97cad
|
@ -61,7 +61,7 @@ class GetRouters(APIView):
|
||||||
for ele in menus:
|
for ele in menus:
|
||||||
data.append({
|
data.append({
|
||||||
'id': ele.get('id'),
|
'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'),
|
'path': ele.get('web_path'),
|
||||||
'hidden': True if ele.get('visible') != '1' else False,
|
'hidden': True if ele.get('visible') != '1' else False,
|
||||||
'redirect': ele.get('web_path') if ele.get('isFrame') == '1' else 'noRedirect',
|
'redirect': ele.get('web_path') if ele.get('isFrame') == '1' else 'noRedirect',
|
||||||
|
|
|
@ -206,7 +206,7 @@
|
||||||
import Editor from '@/components/Editor';
|
import Editor from '@/components/Editor';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "message",
|
name: "Message",
|
||||||
components: {
|
components: {
|
||||||
Editor
|
Editor
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue