Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
飞鱼0526
gin-vue-admin
提交
b6c6217c
G
gin-vue-admin
项目概览
飞鱼0526
/
gin-vue-admin
与 Fork 源项目一致
Fork自
FLIPPED-AURORA / gin-vue-admin
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b6c6217c
编写于
9月 04, 2021
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
适配vite基本完成
上级
129bbfdc
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
24 addition
and
25 deletion
+24
-25
web/src/components/chooseImg/index.vue
web/src/components/chooseImg/index.vue
+1
-1
web/src/components/dashbordCharts/echartsLine.vue
web/src/components/dashbordCharts/echartsLine.vue
+1
-1
web/src/utils/asyncRouter.js
web/src/utils/asyncRouter.js
+3
-4
web/src/view/example/upload/upload.vue
web/src/view/example/upload/upload.vue
+1
-1
web/src/view/layout/aside/asideComponent/index.vue
web/src/view/layout/aside/asideComponent/index.vue
+2
-2
web/src/view/layout/aside/index.vue
web/src/view/layout/aside/index.vue
+1
-1
web/src/view/layout/index.vue
web/src/view/layout/index.vue
+7
-7
web/src/view/person/person.vue
web/src/view/person/person.vue
+2
-2
web/src/view/superAdmin/authority/authority.vue
web/src/view/superAdmin/authority/authority.vue
+3
-3
web/src/view/superAdmin/menu/menu.vue
web/src/view/superAdmin/menu/menu.vue
+1
-1
web/src/view/superAdmin/user/user.vue
web/src/view/superAdmin/user/user.vue
+2
-2
未找到文件。
web/src/components/chooseImg/index.vue
浏览文件 @
b6c6217c
...
...
@@ -19,7 +19,7 @@
</template>
<
script
>
const
path
=
import
.
meta
.
env
.
VITE
_BASE_API
const
path
=
process
.
env
.
VUE_APP
_BASE_API
import
{
getFileList
}
from
'
@/api/fileUploadAndDownload
'
export
default
{
props
:
{
...
...
web/src/components/dashbordCharts/echartsLine.vue
浏览文件 @
b6c6217c
...
...
@@ -9,7 +9,7 @@
</
template
>
<
script
>
import
echarts
from
'
echarts
'
require
(
'
echarts/theme/macarons
'
)
import
'
echarts/theme/macarons
'
var
dataAxis
=
[]
for
(
var
i
=
1
;
i
<
21
;
i
++
)
{
...
...
web/src/utils/asyncRouter.js
浏览文件 @
b6c6217c
const
modules
=
import
.
meta
.
glob
(
'
../
../
view/**/*.vue
'
)
const
modules
=
import
.
meta
.
glob
(
'
../view/**/*.vue
'
)
export
const
asyncRouterHandle
=
(
asyncRouter
)
=>
{
asyncRouter
.
map
(
item
=>
{
...
...
@@ -20,11 +20,10 @@ function dynamicImport(
)
{
const
keys
=
Object
.
keys
(
dynamicViewsModules
)
const
matchKeys
=
keys
.
filter
((
key
)
=>
{
let
k
=
key
.
replace
(
'
../../view
'
,
''
)
const
lastIndex
=
k
.
lastIndexOf
(
'
.
'
)
k
=
k
.
substring
(
0
,
lastIndex
)
const
k
=
key
.
replace
(
'
../
'
,
''
)
return
k
===
component
})
const
matchKey
=
matchKeys
[
0
]
return
dynamicViewsModules
[
matchKey
]
}
web/src/view/example/upload/upload.vue
浏览文件 @
b6c6217c
...
...
@@ -72,7 +72,7 @@ import { mapGetters } from 'vuex'
import
infoList
from
'
@/mixins/infoList
'
import
{
getFileList
,
deleteFile
}
from
'
@/api/fileUploadAndDownload
'
import
{
downloadImage
}
from
'
@/utils/downloadImg
'
import
CustomPic
from
'
@/components/customPic
'
import
CustomPic
from
'
@/components/customPic
/index.vue
'
import
UploadImage
from
'
@/components/upload/image.vue
'
export
default
{
name
:
'
Upload
'
,
...
...
web/src/view/layout/aside/asideComponent/index.vue
浏览文件 @
b6c6217c
...
...
@@ -7,8 +7,8 @@
</template>
<
script
>
import
MenuItem
from
'
./menuItem
'
import
AsyncSubmenu
from
'
./asyncSubmenu
'
import
MenuItem
from
'
./menuItem
.vue
'
import
AsyncSubmenu
from
'
./asyncSubmenu
.vue
'
export
default
{
name
:
'
AsideComponent
'
,
...
...
web/src/view/layout/aside/index.vue
浏览文件 @
b6c6217c
...
...
@@ -24,7 +24,7 @@
<
script
>
import
{
mapGetters
,
mapMutations
}
from
'
vuex
'
import
AsideComponent
from
'
@/view/layout/aside/asideComponent
'
import
AsideComponent
from
'
@/view/layout/aside/asideComponent
/index.vue
'
import
{
emitter
}
from
'
@/utils/bus.js
'
export
default
{
...
...
web/src/view/layout/index.vue
浏览文件 @
b6c6217c
...
...
@@ -100,14 +100,14 @@
</template>
<
script
>
import
Aside
from
'
@/view/layout/aside
'
import
HistoryComponent
from
'
@/view/layout/aside/historyComponent/history
'
import
Screenfull
from
'
@/view/layout/screenfull
'
import
Search
from
'
@/view/layout/search/search
'
import
BottomInfo
from
'
@/view/layout/bottomInfo/bottomInfo
'
import
Aside
from
'
@/view/layout/aside
/index.vue
'
import
HistoryComponent
from
'
@/view/layout/aside/historyComponent/history
.vue
'
import
Screenfull
from
'
@/view/layout/screenfull
/index.vue
'
import
Search
from
'
@/view/layout/search/search
.vue
'
import
BottomInfo
from
'
@/view/layout/bottomInfo/bottomInfo
.vue
'
import
{
mapGetters
,
mapActions
}
from
'
vuex
'
import
CustomPic
from
'
@/components/customPic
'
import
Setting
from
'
./setting
'
import
CustomPic
from
'
@/components/customPic
/index.vue
'
import
Setting
from
'
./setting
/index.vue
'
import
{
setUserAuthority
}
from
'
@/api/user
'
import
{
emitter
}
from
'
@/utils/bus.js
'
export
default
{
...
...
web/src/view/person/person.vue
浏览文件 @
b6c6217c
...
...
@@ -102,8 +102,8 @@
</template>
<
script
>
import
ChooseImg
from
'
@/components/chooseImg
'
import
{
setUserInfo
,
changePassword
}
from
'
@/api/user
'
import
ChooseImg
from
'
@/components/chooseImg
/index.vue
'
import
{
setUserInfo
,
changePassword
}
from
'
@/api/user
.js
'
import
{
mapGetters
,
mapMutations
}
from
'
vuex
'
const
path
=
import
.
meta
.
env
.
VITE_BASE_API
...
...
web/src/view/superAdmin/authority/authority.vue
浏览文件 @
b6c6217c
...
...
@@ -99,9 +99,9 @@ import {
copyAuthority
}
from
'
@/api/authority
'
import
Menus
from
'
@/view/superAdmin/authority/components/menus
'
import
Apis
from
'
@/view/superAdmin/authority/components/apis
'
import
Datas
from
'
@/view/superAdmin/authority/components/datas
'
import
Menus
from
'
@/view/superAdmin/authority/components/menus
.vue
'
import
Apis
from
'
@/view/superAdmin/authority/components/apis
.vue
'
import
Datas
from
'
@/view/superAdmin/authority/components/datas
.vue
'
import
infoList
from
'
@/mixins/infoList
'
export
default
{
...
...
web/src/view/superAdmin/menu/menu.vue
浏览文件 @
b6c6217c
...
...
@@ -193,7 +193,7 @@ import {
getBaseMenuById
}
from
'
@/api/menu
'
import
infoList
from
'
@/mixins/infoList
'
import
icon
from
'
@/view/superAdmin/menu/icon
'
import
icon
from
'
@/view/superAdmin/menu/icon
.vue
'
export
default
{
name
:
'
Menus
'
,
components
:
{
...
...
web/src/view/superAdmin/user/user.vue
浏览文件 @
b6c6217c
...
...
@@ -106,8 +106,8 @@ import {
import
{
getAuthorityList
}
from
'
@/api/authority
'
import
infoList
from
'
@/mixins/infoList
'
import
{
mapGetters
}
from
'
vuex
'
import
CustomPic
from
'
@/components/customPic
'
import
ChooseImg
from
'
@/components/chooseImg
'
import
CustomPic
from
'
@/components/customPic
/index.vue
'
import
ChooseImg
from
'
@/components/chooseImg
/index.vue
'
export
default
{
name
:
'
Api
'
,
components
:
{
CustomPic
,
ChooseImg
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录