Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
嘉然大魔玉
vue-vben-admin
提交
feadf64e
V
vue-vben-admin
项目概览
嘉然大魔玉
/
vue-vben-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-vben-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
feadf64e
编写于
4月 06, 2023
作者:
V
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: Icon加载问题
上级
553ee9c7
变更
26
显示空白变更内容
内联
并排
Showing
26 changed file
with
35 addition
and
32 deletion
+35
-32
internal/vite-config/src/config/application.ts
internal/vite-config/src/config/application.ts
+0
-7
src/components/Application/src/search/AppSearchModal.vue
src/components/Application/src/search/AppSearchModal.vue
+1
-1
src/components/ContextMenu/src/ContextMenu.vue
src/components/ContextMenu/src/ContextMenu.vue
+1
-1
src/components/Cropper/src/CropperAvatar.vue
src/components/Cropper/src/CropperAvatar.vue
+1
-1
src/components/Icon/index.ts
src/components/Icon/index.ts
+0
-2
src/components/Menu/src/components/MenuItemContent.vue
src/components/Menu/src/components/MenuItemContent.vue
+1
-1
src/components/SimpleMenu/src/SimpleSubMenu.vue
src/components/SimpleMenu/src/SimpleSubMenu.vue
+1
-1
src/components/SimpleMenu/src/components/SubMenuItem.vue
src/components/SimpleMenu/src/components/SubMenuItem.vue
+1
-1
src/components/Table/src/components/TableAction.vue
src/components/Table/src/components/TableAction.vue
+1
-1
src/layouts/default/header/components/Breadcrumb.vue
src/layouts/default/header/components/Breadcrumb.vue
+1
-1
src/layouts/default/header/components/ErrorAction.vue
src/layouts/default/header/components/ErrorAction.vue
+1
-1
src/layouts/default/header/components/user-dropdown/DropMenuItem.vue
.../default/header/components/user-dropdown/DropMenuItem.vue
+1
-1
src/layouts/default/setting/index.vue
src/layouts/default/setting/index.vue
+1
-1
src/views/demo/page/account/center/Application.vue
src/views/demo/page/account/center/Application.vue
+1
-1
src/views/demo/page/account/center/Article.vue
src/views/demo/page/account/center/Article.vue
+1
-1
src/views/demo/page/account/center/index.vue
src/views/demo/page/account/center/index.vue
+1
-1
src/views/demo/page/account/setting/AccountBind.vue
src/views/demo/page/account/setting/AccountBind.vue
+1
-1
src/views/demo/page/list/basic/index.vue
src/views/demo/page/list/basic/index.vue
+1
-1
src/views/demo/page/list/card/index.vue
src/views/demo/page/list/card/index.vue
+1
-1
src/views/demo/page/list/search/index.vue
src/views/demo/page/list/search/index.vue
+1
-1
src/views/form-design/components/VFormDesign/components/FormNodeOperate.vue
...ign/components/VFormDesign/components/FormNodeOperate.vue
+1
-1
src/views/form-design/components/VFormDesign/components/FormOptions.vue
...-design/components/VFormDesign/components/FormOptions.vue
+1
-1
src/views/form-design/components/VFormDesign/components/RuleProps.vue
...rm-design/components/VFormDesign/components/RuleProps.vue
+1
-1
src/views/form-design/components/VFormDesign/modules/Toolbar.vue
...ws/form-design/components/VFormDesign/modules/Toolbar.vue
+1
-1
src/views/form-design/components/VFormItem/index.vue
src/views/form-design/components/VFormItem/index.vue
+1
-1
vite.config.ts
vite.config.ts
+12
-0
未找到文件。
internal/vite-config/src/config/application.ts
浏览文件 @
feadf64e
...
...
@@ -31,13 +31,6 @@ function defineApplicationConfig(defineOptions: DefineOptions = {}) {
const
pathResolve
=
(
pathname
:
string
)
=>
resolve
(
root
,
'
.
'
,
pathname
);
const
applicationConfig
:
UserConfig
=
{
optimizeDeps
:
{
include
:
[
'
@iconify/iconify
'
,
'
ant-design-vue/es/locale/zh_CN
'
,
'
ant-design-vue/es/locale/en_US
'
,
],
},
resolve
:
{
alias
:
[
{
...
...
src/components/Application/src/search/AppSearchModal.vue
浏览文件 @
feadf64e
...
...
@@ -61,7 +61,7 @@
import
{
computed
,
unref
,
ref
,
watch
,
nextTick
}
from
'
vue
'
;
import
{
SearchOutlined
}
from
'
@ant-design/icons-vue
'
;
import
AppSearchFooter
from
'
./AppSearchFooter.vue
'
;
import
Icon
from
'
/@/components/Icon
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
// @ts-ignore
import
vClickOutside
from
'
/@/directives/clickOutside
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
...
...
src/components/ContextMenu/src/ContextMenu.vue
浏览文件 @
feadf64e
...
...
@@ -2,7 +2,7 @@
import
type
{
ContextMenuItem
,
ItemContentProps
,
Axis
}
from
'
./typing
'
;
import
type
{
FunctionalComponent
,
CSSProperties
,
PropType
}
from
'
vue
'
;
import
{
defineComponent
,
nextTick
,
onMounted
,
computed
,
ref
,
unref
,
onUnmounted
}
from
'
vue
'
;
import
Icon
from
'
/@/components/Icon
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
import
{
Menu
,
Divider
}
from
'
ant-design-vue
'
;
const
prefixCls
=
'
context-menu
'
;
...
...
src/components/Cropper/src/CropperAvatar.vue
浏览文件 @
feadf64e
...
...
@@ -45,7 +45,7 @@
import
{
useMessage
}
from
'
/@/hooks/web/useMessage
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
type
{
ButtonProps
}
from
'
/@/components/Button
'
;
import
Icon
from
'
/@/components/Icon
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
const
props
=
{
width
:
{
type
:
[
String
,
Number
],
default
:
'
200px
'
},
...
...
src/components/Icon/index.ts
浏览文件 @
feadf64e
...
...
@@ -3,5 +3,3 @@ import SvgIcon from './src/SvgIcon.vue';
import
IconPicker
from
'
./src/IconPicker.vue
'
;
export
{
Icon
,
IconPicker
,
SvgIcon
};
export
default
Icon
;
src/components/Menu/src/components/MenuItemContent.vue
浏览文件 @
feadf64e
...
...
@@ -7,7 +7,7 @@
<
script
lang=
"ts"
>
import
{
computed
,
defineComponent
}
from
'
vue
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
contentProps
}
from
'
../props
'
;
...
...
src/components/SimpleMenu/src/SimpleSubMenu.vue
浏览文件 @
feadf64e
...
...
@@ -48,7 +48,7 @@
import
{
defineComponent
,
computed
}
from
'
vue
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
import
MenuItem
from
'
./components/MenuItem.vue
'
;
import
SubMenu
from
'
./components/SubMenuItem.vue
'
;
...
...
src/components/SimpleMenu/src/components/SubMenuItem.vue
浏览文件 @
feadf64e
...
...
@@ -75,7 +75,7 @@
import
{
useMenuItem
}
from
'
./useMenu
'
;
import
{
useSimpleRootMenuContext
}
from
'
./useSimpleMenuContext
'
;
import
{
CollapseTransition
}
from
'
/@/components/Transition
'
;
import
Icon
from
'
/@/components/Icon
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
import
{
Popover
}
from
'
ant-design-vue
'
;
import
{
isBoolean
,
isObject
}
from
'
/@/utils/is
'
;
import
{
mitt
}
from
'
/@/utils/mitt
'
;
...
...
src/components/Table/src/components/TableAction.vue
浏览文件 @
feadf64e
...
...
@@ -34,7 +34,7 @@
import
{
defineComponent
,
PropType
,
computed
,
toRaw
,
unref
}
from
'
vue
'
;
import
{
MoreOutlined
}
from
'
@ant-design/icons-vue
'
;
import
{
Divider
,
Tooltip
,
TooltipProps
}
from
'
ant-design-vue
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
import
{
ActionItem
,
TableActionType
}
from
'
/@/components/Table
'
;
import
{
PopConfirmButton
}
from
'
/@/components/Button
'
;
import
{
Dropdown
}
from
'
/@/components/Dropdown
'
;
...
...
src/layouts/default/header/components/Breadcrumb.vue
浏览文件 @
feadf64e
...
...
@@ -21,7 +21,7 @@
import
{
defineComponent
,
ref
,
watchEffect
}
from
'
vue
'
;
import
{
Breadcrumb
}
from
'
ant-design-vue
'
;
import
Icon
from
'
/@/components/Icon
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
import
{
useDesign
}
from
'
/@/hooks/web/useDesign
'
;
import
{
useRootSetting
}
from
'
/@/hooks/setting/useRootSetting
'
;
...
...
src/layouts/default/header/components/ErrorAction.vue
浏览文件 @
feadf64e
...
...
@@ -13,7 +13,7 @@
<
script
lang=
"ts"
>
import
{
defineComponent
,
computed
}
from
'
vue
'
;
import
{
Tooltip
,
Badge
}
from
'
ant-design-vue
'
;
import
Icon
from
'
/@/components/Icon
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useErrorLogStore
}
from
'
/@/store/modules/errorLog
'
;
...
...
src/layouts/default/header/components/user-dropdown/DropMenuItem.vue
浏览文件 @
feadf64e
...
...
@@ -11,7 +11,7 @@
import
{
computed
,
defineComponent
,
getCurrentInstance
}
from
'
vue
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
import
{
propTypes
}
from
'
/@/utils/propTypes
'
;
export
default
defineComponent
({
...
...
src/layouts/default/setting/index.vue
浏览文件 @
feadf64e
...
...
@@ -7,7 +7,7 @@
<
script
lang=
"ts"
>
import
{
defineComponent
}
from
'
vue
'
;
import
SettingDrawer
from
'
./SettingDrawer
'
;
import
Icon
from
'
/@/components/Icon
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
import
{
useDrawer
}
from
'
/@/components/Drawer
'
;
...
...
src/views/demo/page/account/center/Application.vue
浏览文件 @
feadf64e
...
...
@@ -30,7 +30,7 @@
<
script
lang=
"ts"
>
import
{
defineComponent
}
from
'
vue
'
;
import
{
List
,
Card
,
Row
,
Col
}
from
'
ant-design-vue
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
import
{
applicationList
}
from
'
./data
'
;
export
default
defineComponent
({
...
...
src/views/demo/page/account/center/Article.vue
浏览文件 @
feadf64e
...
...
@@ -42,7 +42,7 @@
<
script
lang=
"ts"
>
import
{
defineComponent
}
from
'
vue
'
;
import
{
List
,
Tag
}
from
'
ant-design-vue
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
import
{
actions
,
articleList
}
from
'
./data
'
;
export
default
defineComponent
({
...
...
src/views/demo/page/account/center/index.vue
浏览文件 @
feadf64e
...
...
@@ -56,7 +56,7 @@
import
{
Tag
,
Tabs
,
Row
,
Col
}
from
'
ant-design-vue
'
;
import
{
defineComponent
,
computed
}
from
'
vue
'
;
import
{
CollapseContainer
}
from
'
/@/components/Container/index
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
import
Article
from
'
./Article.vue
'
;
import
Application
from
'
./Application.vue
'
;
import
Project
from
'
./Project.vue
'
;
...
...
src/views/demo/page/account/setting/AccountBind.vue
浏览文件 @
feadf64e
...
...
@@ -26,7 +26,7 @@
import
{
List
}
from
'
ant-design-vue
'
;
import
{
defineComponent
}
from
'
vue
'
;
import
{
CollapseContainer
}
from
'
/@/components/Container/index
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
import
{
accountBindList
}
from
'
./data
'
;
...
...
src/views/demo/page/list/basic/index.vue
浏览文件 @
feadf64e
...
...
@@ -53,7 +53,7 @@
<
script
lang=
"ts"
>
import
{
Progress
,
Row
,
Col
,
List
}
from
'
ant-design-vue
'
;
import
{
defineComponent
}
from
'
vue
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
import
{
cardList
}
from
'
./data
'
;
import
{
PageWrapper
}
from
'
/@/components/Page
'
;
...
...
src/views/demo/page/list/card/index.vue
浏览文件 @
feadf64e
...
...
@@ -34,7 +34,7 @@
</template>
<
script
lang=
"ts"
>
import
{
defineComponent
}
from
'
vue
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
import
{
cardList
}
from
'
./data
'
;
import
{
PageWrapper
}
from
'
/@/components/Page
'
;
import
{
Card
,
Row
,
Col
,
List
}
from
'
ant-design-vue
'
;
...
...
src/views/demo/page/list/search/index.vue
浏览文件 @
feadf64e
...
...
@@ -55,7 +55,7 @@
<
script
lang=
"ts"
>
import
{
Tag
,
List
}
from
'
ant-design-vue
'
;
import
{
defineComponent
}
from
'
vue
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
import
{
BasicForm
}
from
'
/@/components/Form/index
'
;
import
{
actions
,
searchList
,
schemas
}
from
'
./data
'
;
import
{
PageWrapper
}
from
'
/@/components/Page
'
;
...
...
src/views/form-design/components/VFormDesign/components/FormNodeOperate.vue
浏览文件 @
feadf64e
...
...
@@ -17,7 +17,7 @@
import
{
IVFormComponent
}
from
'
../../../typings/v-form-component
'
;
import
{
remove
}
from
'
../../../utils
'
;
import
{
useFormDesignState
}
from
'
../../../hooks/useFormDesignState
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
export
default
defineComponent
({
name
:
'
FormNodeOperate
'
,
...
...
src/views/form-design/components/VFormDesign/components/FormOptions.vue
浏览文件 @
feadf64e
...
...
@@ -38,7 +38,7 @@
import
{
remove
}
from
'
../../../utils
'
;
import
message
from
'
../../../utils/message
'
;
import
{
Input
}
from
'
ant-design-vue
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
export
default
defineComponent
({
name
:
'
FormOptions
'
,
...
...
src/views/form-design/components/VFormDesign/components/RuleProps.vue
浏览文件 @
feadf64e
...
...
@@ -38,7 +38,7 @@
import
{
useFormDesignState
}
from
'
../../../hooks/useFormDesignState
'
;
import
{
isArray
}
from
'
lodash-es
'
;
import
{
Form
,
FormItem
,
AutoComplete
,
Input
}
from
'
ant-design-vue
'
;
import
Icon
from
'
/@/components/Icon
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
export
default
defineComponent
({
name
:
'
RuleProps
'
,
...
...
src/views/form-design/components/VFormDesign/modules/Toolbar.vue
浏览文件 @
feadf64e
...
...
@@ -31,7 +31,7 @@
import
{
UseRefHistoryReturn
}
from
'
@vueuse/core
'
;
import
{
IFormConfig
}
from
'
../../../typings/v-form-component
'
;
import
{
Tooltip
,
Divider
}
from
'
ant-design-vue
'
;
import
Icon
from
'
/@/components/Icon/index
'
;
import
{
Icon
}
from
'
/@/components/Icon/index
'
;
interface
IToolbarsConfig
{
type
:
string
;
...
...
src/views/form-design/components/VFormItem/index.vue
浏览文件 @
feadf64e
...
...
@@ -40,13 +40,13 @@
</Col>
</template>
<
script
lang=
"ts"
>
import
{
type
Recordable
}
from
'
@vben/types
'
;
import
{
defineComponent
,
reactive
,
toRefs
,
computed
,
PropType
,
unref
}
from
'
vue
'
;
import
{
componentMap
}
from
'
../../core/formItemConfig
'
;
import
{
IVFormComponent
,
IFormConfig
}
from
'
../../typings/v-form-component
'
;
import
{
asyncComputed
}
from
'
@vueuse/core
'
;
import
{
handleAsyncOptions
}
from
'
../../utils
'
;
import
{
omit
}
from
'
lodash-es
'
;
import
{
type
Recordable
}
from
'
@vben/types
'
;
import
{
Tooltip
,
FormItem
,
Divider
,
Col
}
from
'
ant-design-vue
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
import
{
useFormModelState
}
from
'
../../hooks/useFormDesignState
'
;
...
...
vite.config.ts
浏览文件 @
feadf64e
...
...
@@ -2,6 +2,18 @@ import { defineApplicationConfig } from '@vben/vite-config';
export
default
defineApplicationConfig
({
overrides
:
{
optimizeDeps
:
{
include
:
[
'
echarts/core
'
,
'
echarts/charts
'
,
'
echarts/components
'
,
'
echarts/renderers
'
,
'
qrcode
'
,
'
@iconify/iconify
'
,
'
ant-design-vue/es/locale/zh_CN
'
,
'
ant-design-vue/es/locale/en_US
'
,
],
},
server
:
{
proxy
:
{
'
/basic-api
'
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录