This commit is contained in:
gaoshuaixing
2020-12-24 19:00:50 +08:00
parent cc28762a45
commit 62230c4145
16 changed files with 328 additions and 24 deletions

View File

@@ -0,0 +1 @@
#components-layout-demo-responsive .logo[data-v-4356d2f9]{border-bottom:1px solid #e8e8e8}#components-layout-demo-responsive .pic-logo[data-v-4356d2f9]{height:32px;margin:10px}#components-layout-demo-responsive .layout-sider[data-v-4356d2f9]{border-right:1px solid #e8e8e8}#components-layout-demo-responsive .menu-item .ant-menu-item[data-v-4356d2f9]{background-color:#fff;margin-top:0;margin-bottom:0}#components-layout-demo-responsive .sub-layout-sider[data-v-4356d2f9]{background-color:#fafafa}#components-layout-demo-responsive .sub-menu-item .ant-menu-item[data-v-4356d2f9]{margin-top:0;margin-bottom:0}#components-layout-demo-responsive .sub-menu-item .ant-menu-item[data-v-4356d2f9]:after{border-right:3px solid #f2f2f2}#components-layout-demo-responsive .sub-menu-item .ant-menu-item-selected[data-v-4356d2f9]{background-color:#f2f2f2}#components-layout-demo-responsive .sub-menu-item .ant-menu-item-selected span[data-v-4356d2f9]{color:#111}#components-layout-demo-responsive .sub-menu-item.ant-menu[data-v-4356d2f9]{background:#fafafa}#components-layout-demo-responsive .sub-menu-item.ant-menu-inline[data-v-4356d2f9]{border-right:0 solid #fafafa}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}

View File

@@ -0,0 +1 @@
#components-layout-demo-responsive .logo[data-v-40511e1a]{border-bottom:1px solid #e8e8e8}#components-layout-demo-responsive .pic-logo[data-v-40511e1a]{height:32px;margin:10px}#components-layout-demo-responsive .layout-sider[data-v-40511e1a]{border-right:1px solid #e8e8e8}#components-layout-demo-responsive .menu-item .ant-menu-item[data-v-40511e1a]{background-color:#fff;margin-top:0;margin-bottom:0}#components-layout-demo-responsive .sub-layout-sider[data-v-40511e1a]{background-color:#fafafa}#components-layout-demo-responsive .sub-menu-item .ant-menu-item[data-v-40511e1a]{margin-top:0;margin-bottom:0}#components-layout-demo-responsive .sub-menu-item .ant-menu-item[data-v-40511e1a]:after{border-right:3px solid #f2f2f2}#components-layout-demo-responsive .sub-menu-item .ant-menu-item-selected[data-v-40511e1a]{background-color:#f2f2f2}#components-layout-demo-responsive .sub-menu-item .ant-menu-item-selected span[data-v-40511e1a]{color:#111}#components-layout-demo-responsive .sub-menu-item.ant-menu[data-v-40511e1a]{background:#fafafa}#components-layout-demo-responsive .sub-menu-item.ant-menu-inline[data-v-40511e1a]{border-right:0 solid #fafafa}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}

View File

@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>electron-egg</title><link href="/css/chunk-0f66403b.30fa847d.css" rel="prefetch"><link href="/css/chunk-5fdd2c15.60185def.css" rel="prefetch"><link href="/js/chunk-0f66403b.bbb1f5cb.js" rel="prefetch"><link href="/js/chunk-5fdd2c15.c1bf50ef.js" rel="prefetch"><link href="/css/app.29e10f6d.css" rel="preload" as="style"><link href="/css/chunk-vendors.a1538f74.css" rel="preload" as="style"><link href="/js/app.93c4a41c.js" rel="preload" as="script"><link href="/js/chunk-vendors.e06e2b79.js" rel="preload" as="script"><link href="/css/chunk-vendors.a1538f74.css" rel="stylesheet"><link href="/css/app.29e10f6d.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but electron-egg doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.e06e2b79.js"></script><script src="/js/app.93c4a41c.js"></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>electron-egg</title><link href="/js/chunk-2d208e4d.42b6aba6.js" rel="prefetch"><link href="/css/app.741d5958.css" rel="preload" as="style"><link href="/css/chunk-vendors.a1538f74.css" rel="preload" as="style"><link href="/js/app.1f094f31.js" rel="preload" as="script"><link href="/js/chunk-vendors.9ef31ed0.js" rel="preload" as="script"><link href="/css/chunk-vendors.a1538f74.css" rel="stylesheet"><link href="/css/app.741d5958.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but electron-egg doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.9ef31ed0.js"></script><script src="/js/app.1f094f31.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d208e4d"],{a778:function(t,n,e){"use strict";e.r(n);var o=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("h3",{style:{marginBottom:"16px"}},[t._v(" demo 打开文件夹实现 ")]),e("a-list",{attrs:{bordered:"","data-source":t.data},scopedSlots:t._u([{key:"renderItem",fn:function(n){return e("a-list-item",{on:{click:function(e){return t.openDirectry(n.id)}}},[t._v(" "+t._s(n.content)+" "),e("a-button",{attrs:{type:"link"}},[t._v(" 打开 ")])],1)}}])})],1)},r=[],c=e("b775"),i={outApi:"/v1/outApi",openDir:"/v1/example/openLocalDir"};function a(t){return Object(c["b"])({url:i.openDir,method:"post",data:t})}var u=[{content:"【下载】目录",id:"download"},{content:"【图片】目录",id:"picture"},{content:"【文档】目录",id:"doc"},{content:"【音乐】目录",id:"music"}],d={data:function(){return{data:u}},methods:{openDirectry:function(t){console.log("id:",t);var n={id:t};a(n).then((function(t){if(0!==t.code)return!1})).catch((function(t){console.log("err:",t)}))}}},l=d,s=e("2877"),p=Object(s["a"])(l,o,r,!1,null,null,null);n["default"]=p.exports}}]);
//# sourceMappingURL=chunk-2d208e4d.42b6aba6.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>electron-egg</title><link href="/css/chunk-0f66403b.30fa847d.css" rel="prefetch"><link href="/css/chunk-5fdd2c15.60185def.css" rel="prefetch"><link href="/js/chunk-0f66403b.bbb1f5cb.js" rel="prefetch"><link href="/js/chunk-5fdd2c15.c1bf50ef.js" rel="prefetch"><link href="/css/app.29e10f6d.css" rel="preload" as="style"><link href="/css/chunk-vendors.a1538f74.css" rel="preload" as="style"><link href="/js/app.93c4a41c.js" rel="preload" as="script"><link href="/js/chunk-vendors.e06e2b79.js" rel="preload" as="script"><link href="/css/chunk-vendors.a1538f74.css" rel="stylesheet"><link href="/css/app.29e10f6d.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but electron-egg doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.e06e2b79.js"></script><script src="/js/app.93c4a41c.js"></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>electron-egg</title><link href="/js/chunk-2d208e4d.42b6aba6.js" rel="prefetch"><link href="/css/app.741d5958.css" rel="preload" as="style"><link href="/css/chunk-vendors.a1538f74.css" rel="preload" as="style"><link href="/js/app.1f094f31.js" rel="preload" as="script"><link href="/js/chunk-vendors.9ef31ed0.js" rel="preload" as="script"><link href="/css/chunk-vendors.a1538f74.css" rel="stylesheet"><link href="/css/app.741d5958.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but electron-egg doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.9ef31ed0.js"></script><script src="/js/app.1f094f31.js"></script></body></html>

View File

@@ -1,3 +1,3 @@
NODE_ENV=development
VUE_APP_PREVIEW=true
VUE_APP_API_BASE_URL=http://localhost:7069/api
VUE_APP_API_BASE_URL=http://localhost:7068/api

View File

@@ -1,3 +1,3 @@
NODE_ENV=production
VUE_APP_PREVIEW=true
VUE_APP_API_BASE_URL=http://localhost:7069/api
VUE_APP_API_BASE_URL=http://localhost:7068/api

View File

@@ -4,32 +4,24 @@
*/
export const constantRouterMap = [
{
path: '/file',
path: '/',
component: { template: '<div><router-view /></div>' },
children: [
{
path: 'openDir',
path: 'fileOpenDir',
name: 'FileOpenDir',
component: () => import('@/views/file/OpenDir')
}
]
},
{
path: '/testc',
component: { template: '<div><router-view /></div>' },
children: [
},
{
path: 'testc',
name: 'testc',
path: 'setting1',
name: 'setting1',
component: { template: '<div><h1>这是设置内一</h1></div>' }
},
{
path: '/testd',
name: 'testd',
path: 'setting2',
name: 'setting2',
component: { template: '<div><h1>这是设置内二</h1></div>' }
}
},
]
},
{ path: '/testa', component: () => import('@/views/Contenta') },
{ path: '/testb', component: () => import('@/views/Contentb') }
}
]

View File

@@ -56,17 +56,17 @@ export default {
'menu_1' : {
'subMenu_1' : {
title: '打开文件夹',
page: '/file/openDir'
page: 'fileOpenDir'
}
},
'menu_2' : {
'subMenu_1' : {
title: '设置菜单1',
page: '/testc/testc'
page: '/setting1'
},
'subMenu_2' : {
title: '设置菜单2',
page: '/testd'
page: '/setting2'
},
},
},