Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dr.Disrespect
vue-vben-admin
提交
cda0f9c1
V
vue-vben-admin
项目概览
Dr.Disrespect
/
vue-vben-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
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,体验更适合开发者的 AI 搜索 >>
提交
cda0f9c1
编写于
6月 07, 2021
作者:
V
Vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: add some notes
上级
efce482b
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
138 addition
and
135 deletion
+138
-135
.vscode/settings.json
.vscode/settings.json
+10
-10
build/vite/plugin/compress.ts
build/vite/plugin/compress.ts
+1
-1
package.json
package.json
+6
-6
src/components/Button/src/BasicButton.vue
src/components/Button/src/BasicButton.vue
+26
-24
src/components/Button/src/PopConfirmButton.vue
src/components/Button/src/PopConfirmButton.vue
+17
-15
src/components/Table/src/hooks/useTable.ts
src/components/Table/src/hooks/useTable.ts
+14
-20
src/hooks/web/usePermission.ts
src/hooks/web/usePermission.ts
+1
-1
src/locales/useLocale.ts
src/locales/useLocale.ts
+2
-2
src/main.ts
src/main.ts
+2
-2
src/router/guard/index.ts
src/router/guard/index.ts
+1
-1
src/router/index.ts
src/router/index.ts
+2
-4
src/router/menus/index.ts
src/router/menus/index.ts
+1
-1
src/store/modules/user.ts
src/store/modules/user.ts
+1
-1
src/utils/propTypes.ts
src/utils/propTypes.ts
+0
-6
yarn.lock
yarn.lock
+54
-41
未找到文件。
.vscode/settings.json
浏览文件 @
cda0f9c1
...
@@ -25,8 +25,8 @@
...
@@ -25,8 +25,8 @@
//=============
files
=======================
//=============
files
=======================
//===========================================
//===========================================
"files.trimTrailingWhitespace"
:
true
,
"files.trimTrailingWhitespace"
:
true
,
"files.insertFinalNewline"
:
true
,
//
"files.insertFinalNewline"
:
true
,
"files.trimFinalNewlines"
:
true
,
//
"files.trimFinalNewlines"
:
true
,
"files.eol"
:
"
\n
"
,
"files.eol"
:
"
\n
"
,
"search.exclude"
:
{
"search.exclude"
:
{
"**/node_modules"
:
true
,
"**/node_modules"
:
true
,
...
@@ -76,14 +76,14 @@
...
@@ -76,14 +76,14 @@
//
===========================================
//
===========================================
//
================
Vetur
====================
//
================
Vetur
====================
//
===========================================
//
===========================================
"vetur.experimental.templateInterpolationService"
:
true
,
//
"vetur.experimental.templateInterpolationService"
:
true
,
"vetur.format.options.tabSize"
:
2
,
//
"vetur.format.options.tabSize"
:
2
,
"vetur.languageFeatures.codeActions"
:
false
,
//
"vetur.languageFeatures.codeActions"
:
false
,
"vetur.format.defaultFormatterOptions"
:
{
//
"vetur.format.defaultFormatterOptions"
:
{
"js-beautify-html"
:
{
//
"js-beautify-html"
:
{
"wrap_attributes"
:
"force-expand-multiline"
//
"wrap_attributes"
:
"force-expand-multiline"
}
//
}
},
//
},
"liveServer.settings.donotShowInfoMsg"
:
true
,
"liveServer.settings.donotShowInfoMsg"
:
true
,
"telemetry.enableCrashReporter"
:
false
,
"telemetry.enableCrashReporter"
:
false
,
"workbench.settings.enableNaturalLanguageSearch"
:
false
,
"workbench.settings.enableNaturalLanguageSearch"
:
false
,
...
...
build/vite/plugin/compress.ts
浏览文件 @
cda0f9c1
...
@@ -8,7 +8,7 @@ import compressPlugin from 'vite-plugin-compression';
...
@@ -8,7 +8,7 @@ import compressPlugin from 'vite-plugin-compression';
export
function
configCompressPlugin
(
export
function
configCompressPlugin
(
compress
:
'
gzip
'
|
'
brotli
'
|
'
none
'
,
compress
:
'
gzip
'
|
'
brotli
'
|
'
none
'
,
deleteOriginFile
:
boolean
=
false
deleteOriginFile
=
false
):
Plugin
|
Plugin
[]
{
):
Plugin
|
Plugin
[]
{
const
compressList
=
compress
.
split
(
'
,
'
);
const
compressList
=
compress
.
split
(
'
,
'
);
...
...
package.json
浏览文件 @
cda0f9c1
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
"devDependencies"
:
{
"devDependencies"
:
{
"
@commitlint/cli
"
:
"
^12.1.4
"
,
"
@commitlint/cli
"
:
"
^12.1.4
"
,
"
@commitlint/config-conventional
"
:
"
^12.1.4
"
,
"
@commitlint/config-conventional
"
:
"
^12.1.4
"
,
"
@iconify/json
"
:
"
^1.1.35
0
"
,
"
@iconify/json
"
:
"
^1.1.35
3
"
,
"
@purge-icons/generated
"
:
"
^0.7.0
"
,
"
@purge-icons/generated
"
:
"
^0.7.0
"
,
"
@types/codemirror
"
:
"
^5.60.0
"
,
"
@types/codemirror
"
:
"
^5.60.0
"
,
"
@types/crypto-js
"
:
"
^4.0.1
"
,
"
@types/crypto-js
"
:
"
^4.0.1
"
,
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
"
@types/inquirer
"
:
"
^7.3.1
"
,
"
@types/inquirer
"
:
"
^7.3.1
"
,
"
@types/lodash-es
"
:
"
^4.17.4
"
,
"
@types/lodash-es
"
:
"
^4.17.4
"
,
"
@types/mockjs
"
:
"
^1.0.3
"
,
"
@types/mockjs
"
:
"
^1.0.3
"
,
"
@types/node
"
:
"
^15.12.
0
"
,
"
@types/node
"
:
"
^15.12.
1
"
,
"
@types/nprogress
"
:
"
^0.2.0
"
,
"
@types/nprogress
"
:
"
^0.2.0
"
,
"
@types/qrcode
"
:
"
^1.4.0
"
,
"
@types/qrcode
"
:
"
^1.4.0
"
,
"
@types/qs
"
:
"
^6.9.6
"
,
"
@types/qs
"
:
"
^6.9.6
"
,
...
@@ -87,12 +87,12 @@
...
@@ -87,12 +87,12 @@
"
conventional-changelog-cli
"
:
"
^2.1.1
"
,
"
conventional-changelog-cli
"
:
"
^2.1.1
"
,
"
cross-env
"
:
"
^7.0.3
"
,
"
cross-env
"
:
"
^7.0.3
"
,
"
dotenv
"
:
"
^10.0.0
"
,
"
dotenv
"
:
"
^10.0.0
"
,
"
eslint
"
:
"
^7.2
7
.0
"
,
"
eslint
"
:
"
^7.2
8
.0
"
,
"
eslint-config-prettier
"
:
"
^8.3.0
"
,
"
eslint-config-prettier
"
:
"
^8.3.0
"
,
"
eslint-define-config
"
:
"
^1.0.8
"
,
"
eslint-define-config
"
:
"
^1.0.8
"
,
"
eslint-plugin-prettier
"
:
"
^3.4.0
"
,
"
eslint-plugin-prettier
"
:
"
^3.4.0
"
,
"
eslint-plugin-vue
"
:
"
^7.10.0
"
,
"
eslint-plugin-vue
"
:
"
^7.10.0
"
,
"
esno
"
:
"
^0.
6
.0
"
,
"
esno
"
:
"
^0.
7
.0
"
,
"
fs-extra
"
:
"
^10.0.0
"
,
"
fs-extra
"
:
"
^10.0.0
"
,
"
http-server
"
:
"
^0.12.3
"
,
"
http-server
"
:
"
^0.12.3
"
,
"
husky
"
:
"
^6.0.0
"
,
"
husky
"
:
"
^6.0.0
"
,
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
"
less
"
:
"
^4.1.1
"
,
"
less
"
:
"
^4.1.1
"
,
"
lint-staged
"
:
"
^11.0.0
"
,
"
lint-staged
"
:
"
^11.0.0
"
,
"
postcss
"
:
"
^8.3.0
"
,
"
postcss
"
:
"
^8.3.0
"
,
"
prettier
"
:
"
^2.3.
0
"
,
"
prettier
"
:
"
^2.3.
1
"
,
"
pretty-quick
"
:
"
^3.1.0
"
,
"
pretty-quick
"
:
"
^3.1.0
"
,
"
rimraf
"
:
"
^3.0.2
"
,
"
rimraf
"
:
"
^3.0.2
"
,
"
rollup-plugin-visualizer
"
:
"
5.5.0
"
,
"
rollup-plugin-visualizer
"
:
"
5.5.0
"
,
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
"resolutions"
:
{
"resolutions"
:
{
"//"
:
"Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it"
,
"//"
:
"Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it"
,
"bin-wrapper"
:
"npm:bin-wrapper-china"
,
"bin-wrapper"
:
"npm:bin-wrapper-china"
,
"rollup"
:
"^2.5
0.6
"
"rollup"
:
"^2.5
1.0
"
},
},
"repository"
:
{
"repository"
:
{
"type"
:
"git"
,
"type"
:
"git"
,
...
...
src/components/Button/src/BasicButton.vue
浏览文件 @
cda0f9c1
<
template
>
<
template
>
<Button
v-bind=
"getBindValue"
:class=
"
[getColor, $attrs.class]
"
@
click=
"onClick"
>
<Button
v-bind=
"getBindValue"
:class=
"
getButtonClass
"
@
click=
"onClick"
>
<template
#default
="
data
"
>
<template
#default
="
data
"
>
<Icon
:icon=
"preIcon"
v-if=
"preIcon"
:size=
"
14
"
/>
<Icon
:icon=
"preIcon"
v-if=
"preIcon"
:size=
"
iconSize
"
/>
<slot
v-bind=
"data"
></slot>
<slot
v-bind=
"data"
></slot>
<Icon
:icon=
"postIcon"
v-if=
"postIcon"
:size=
"
14
"
/>
<Icon
:icon=
"postIcon"
v-if=
"postIcon"
:size=
"
iconSize
"
/>
</
template
>
</
template
>
</Button>
</Button>
</template>
</template>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
defineComponent
,
computed
}
from
'
vue
'
;
import
{
defineComponent
,
computed
}
from
'
vue
'
;
import
{
Button
}
from
'
ant-design-vue
'
;
import
{
Button
}
from
'
ant-design-vue
'
;
import
Icon
from
'
/@/components/Icon
'
;
import
{
Icon
}
from
'
/@/components/Icon
'
;
import
{
propTypes
}
from
'
/@/utils/propTypes
'
;
const
props
=
{
color
:
{
type
:
String
,
validate
:
(
v
)
=>
[
'
error
'
,
'
warning
'
,
'
success
'
,
''
].
includes
(
v
)
},
loading
:
{
type
:
Boolean
},
disabled
:
{
type
:
Boolean
},
preIcon
:
{
type
:
String
},
postIcon
:
{
type
:
String
},
iconSize
:
{
type
:
Number
,
default
:
14
},
onClick
:
{
type
:
Function
as
PropType
<
(...
args
)
=>
any
>
,
default
:
null
},
};
export
default
defineComponent
({
export
default
defineComponent
({
name
:
'
AButton
'
,
name
:
'
AButton
'
,
components
:
{
Button
,
Icon
},
components
:
{
Button
,
Icon
},
inheritAttrs
:
false
,
inheritAttrs
:
false
,
props
:
{
props
,
type
:
propTypes
.
oneOf
([
'
primary
'
,
'
default
'
,
'
danger
'
,
'
dashed
'
,
'
link
'
]).
def
(
'
default
'
),
color
:
propTypes
.
oneOf
([
'
error
'
,
'
warning
'
,
'
success
'
,
''
]),
loading
:
propTypes
.
bool
,
disabled
:
propTypes
.
bool
,
preIcon
:
propTypes
.
string
,
postIcon
:
propTypes
.
string
,
onClick
:
propTypes
.
func
,
},
setup
(
props
,
{
attrs
})
{
setup
(
props
,
{
attrs
})
{
const
getColor
=
computed
(()
=>
{
// get component class
const
getButtonClass
=
computed
(()
=>
{
const
{
color
,
disabled
}
=
props
;
const
{
color
,
disabled
}
=
props
;
return
{
return
[
[
`ant-btn-
${
color
}
`
]:
!!
color
,
{
[
`is-disabled`
]:
disabled
,
[
`ant-btn-
${
color
}
`
]:
!!
color
,
};
[
`is-disabled`
]:
disabled
,
},
attrs
.
class
,
];
});
});
const
getBindValue
=
computed
(():
any
=>
{
// get inherit binding value
return
{
...
attrs
,
...
props
};
const
getBindValue
=
computed
(()
=>
({
...
attrs
,
...
props
}));
});
return
{
getBindValue
,
get
Color
};
return
{
getBindValue
,
get
ButtonClass
};
},
},
});
});
</
script
>
</
script
>
src/components/Button/src/PopConfirmButton.vue
浏览文件 @
cda0f9c1
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
defineComponent
,
h
,
unref
,
computed
}
from
'
vue
'
;
import
{
defineComponent
,
h
,
unref
,
computed
}
from
'
vue
'
;
import
{
Popconfirm
}
from
'
ant-design-vue
'
;
import
{
Popconfirm
}
from
'
ant-design-vue
'
;
import
BasicButton
from
'
./BasicButton.vue
'
;
import
BasicButton
from
'
./BasicButton.vue
'
;
import
{
propTypes
}
from
'
/@/utils/propTypes
'
;
import
{
extendSlots
}
from
'
/@/utils/helper/tsxHelper
'
;
import
{
extendSlots
}
from
'
/@/utils/helper/tsxHelper
'
;
import
{
omit
}
from
'
lodash-es
'
;
import
{
omit
}
from
'
lodash-es
'
;
import
{
useAttrs
}
from
'
/@/hooks/core/useAttrs
'
;
import
{
useAttrs
}
from
'
/@/hooks/core/useAttrs
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
const
props
=
{
/**
* Whether to enable the drop-down menu
* @default: true
*/
enable
:
{
type
:
Boolean
,
default
:
true
,
},
};
export
default
defineComponent
({
export
default
defineComponent
({
name
:
'
PopButton
'
,
name
:
'
PopButton
'
,
components
:
{
Popconfirm
,
BasicButton
},
components
:
{
Popconfirm
,
BasicButton
},
inheritAttrs
:
false
,
inheritAttrs
:
false
,
props
:
{
props
,
size
:
propTypes
.
oneOf
([
'
large
'
,
'
default
'
,
'
small
'
]).
def
(),
enable
:
propTypes
.
bool
.
def
(
true
),
okText
:
propTypes
.
string
,
cancelText
:
propTypes
.
string
,
},
setup
(
props
,
{
slots
})
{
setup
(
props
,
{
slots
})
{
const
{
t
}
=
useI18n
();
const
{
t
}
=
useI18n
();
const
attrs
=
useAttrs
();
const
attrs
=
useAttrs
();
// get inherit binding value
const
getBindValues
=
computed
(()
=>
{
const
getBindValues
=
computed
(()
=>
{
const
popValues
=
Object
.
assign
(
const
popValues
=
Object
.
assign
(
{
{
...
@@ -38,14 +40,14 @@
...
@@ -38,14 +40,14 @@
});
});
return
()
=>
{
return
()
=>
{
const
v
alues
=
omit
(
unref
(
getBindValues
),
'
icon
'
);
const
bindV
alues
=
omit
(
unref
(
getBindValues
),
'
icon
'
);
const
Button
=
h
(
BasicButton
,
v
alues
,
extendSlots
(
slots
));
const
Button
=
h
(
BasicButton
,
bindV
alues
,
extendSlots
(
slots
));
// If it is not enabled, it is a normal button
if
(
!
props
.
enable
)
{
if
(
!
props
.
enable
)
{
return
Button
;
return
Button
;
}
}
return
h
(
Popconfirm
,
bindValues
,
{
default
:
()
=>
Button
});
return
h
(
Popconfirm
,
values
,
{
default
:
()
=>
Button
});
};
};
},
},
});
});
...
...
src/components/Table/src/hooks/useTable.ts
浏览文件 @
cda0f9c1
...
@@ -2,16 +2,10 @@ import type { BasicTableProps, TableActionType, FetchParams, BasicColumn } from
...
@@ -2,16 +2,10 @@ import type { BasicTableProps, TableActionType, FetchParams, BasicColumn } from
import
type
{
PaginationProps
}
from
'
../types/pagination
'
;
import
type
{
PaginationProps
}
from
'
../types/pagination
'
;
import
type
{
DynamicProps
}
from
'
/#/utils
'
;
import
type
{
DynamicProps
}
from
'
/#/utils
'
;
import
type
{
FormActionType
}
from
'
/@/components/Form
'
;
import
type
{
FormActionType
}
from
'
/@/components/Form
'
;
//
import type { WatchStopHandle } from 'vue';
import
type
{
WatchStopHandle
}
from
'
vue
'
;
import
{
getDynamicProps
}
from
'
/@/utils
'
;
import
{
getDynamicProps
}
from
'
/@/utils
'
;
import
{
import
{
ref
,
onUnmounted
,
unref
,
watch
,
toRaw
}
from
'
vue
'
;
ref
,
onUnmounted
,
unref
,
// watch,
toRaw
,
}
from
'
vue
'
;
import
{
isProdMode
}
from
'
/@/utils/env
'
;
import
{
isProdMode
}
from
'
/@/utils/env
'
;
import
{
error
}
from
'
/@/utils/log
'
;
import
{
error
}
from
'
/@/utils/log
'
;
...
@@ -31,7 +25,7 @@ export function useTable(tableProps?: Props): [
...
@@ -31,7 +25,7 @@ export function useTable(tableProps?: Props): [
const
loadedRef
=
ref
<
Nullable
<
boolean
>>
(
false
);
const
loadedRef
=
ref
<
Nullable
<
boolean
>>
(
false
);
const
formRef
=
ref
<
Nullable
<
UseTableMethod
>>
(
null
);
const
formRef
=
ref
<
Nullable
<
UseTableMethod
>>
(
null
);
//
let stopWatch: WatchStopHandle;
let
stopWatch
:
WatchStopHandle
;
function
register
(
instance
:
TableActionType
,
formInstance
:
UseTableMethod
)
{
function
register
(
instance
:
TableActionType
,
formInstance
:
UseTableMethod
)
{
isProdMode
()
&&
isProdMode
()
&&
...
@@ -47,18 +41,18 @@ export function useTable(tableProps?: Props): [
...
@@ -47,18 +41,18 @@ export function useTable(tableProps?: Props): [
tableProps
&&
instance
.
setProps
(
getDynamicProps
(
tableProps
));
tableProps
&&
instance
.
setProps
(
getDynamicProps
(
tableProps
));
loadedRef
.
value
=
true
;
loadedRef
.
value
=
true
;
//
stopWatch?.();
stopWatch
?.();
//
stopWatch = watch(
stopWatch
=
watch
(
//
() => tableProps,
()
=>
tableProps
,
//
() => {
()
=>
{
//
tableProps && instance.setProps(getDynamicProps(tableProps));
tableProps
&&
instance
.
setProps
(
getDynamicProps
(
tableProps
));
//
},
},
//
{
{
//
immediate: true,
immediate
:
true
,
//
deep: true,
deep
:
true
,
//
}
}
//
);
);
}
}
function
getTableInstance
():
TableActionType
{
function
getTableInstance
():
TableActionType
{
...
...
src/hooks/web/usePermission.ts
浏览文件 @
cda0f9c1
...
@@ -6,7 +6,7 @@ import { useUserStore } from '/@/store/modules/user';
...
@@ -6,7 +6,7 @@ import { useUserStore } from '/@/store/modules/user';
import
{
useTabs
}
from
'
./useTabs
'
;
import
{
useTabs
}
from
'
./useTabs
'
;
import
router
,
{
resetRouter
}
from
'
/@/router
'
;
import
{
router
,
resetRouter
}
from
'
/@/router
'
;
// import { RootRoute } from '/@/router/routes';
// import { RootRoute } from '/@/router/routes';
import
projectSetting
from
'
/@/settings/projectSetting
'
;
import
projectSetting
from
'
/@/settings/projectSetting
'
;
...
...
src/locales/useLocale.ts
浏览文件 @
cda0f9c1
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*/
*/
import
type
{
LocaleType
}
from
'
/#/config
'
;
import
type
{
LocaleType
}
from
'
/#/config
'
;
import
moment
from
'
moment
'
;
import
{
updateLocale
}
from
'
moment
'
;
import
{
i18n
}
from
'
./setupI18n
'
;
import
{
i18n
}
from
'
./setupI18n
'
;
import
{
useLocaleStoreWithOut
}
from
'
/@/store/modules/locale
'
;
import
{
useLocaleStoreWithOut
}
from
'
/@/store/modules/locale
'
;
...
@@ -56,7 +56,7 @@ export function useLocale() {
...
@@ -56,7 +56,7 @@ export function useLocale() {
const
{
message
,
momentLocale
,
momentLocaleName
}
=
langModule
;
const
{
message
,
momentLocale
,
momentLocaleName
}
=
langModule
;
globalI18n
.
setLocaleMessage
(
locale
,
message
);
globalI18n
.
setLocaleMessage
(
locale
,
message
);
moment
.
updateLocale
(
momentLocaleName
,
momentLocale
);
updateLocale
(
momentLocaleName
,
momentLocale
);
loadLocalePool
.
push
(
locale
);
loadLocalePool
.
push
(
locale
);
setI18nLanguage
(
locale
);
setI18nLanguage
(
locale
);
...
...
src/main.ts
浏览文件 @
cda0f9c1
...
@@ -5,11 +5,11 @@ import 'virtual:windi.css';
...
@@ -5,11 +5,11 @@ import 'virtual:windi.css';
// Register icon sprite
// Register icon sprite
import
'
virtual:svg-icons-register
'
;
import
'
virtual:svg-icons-register
'
;
import
{
createApp
}
from
'
vue
'
;
import
App
from
'
./App.vue
'
;
import
App
from
'
./App.vue
'
;
import
{
createApp
}
from
'
vue
'
;
import
{
initAppConfigStore
}
from
'
/@/logics/initAppConfig
'
;
import
{
initAppConfigStore
}
from
'
/@/logics/initAppConfig
'
;
import
{
setupErrorHandle
}
from
'
/@/logics/error-handle
'
;
import
{
setupErrorHandle
}
from
'
/@/logics/error-handle
'
;
import
router
,
{
setupRouter
}
from
'
/@/router
'
;
import
{
router
,
setupRouter
}
from
'
/@/router
'
;
import
{
setupRouterGuard
}
from
'
/@/router/guard
'
;
import
{
setupRouterGuard
}
from
'
/@/router/guard
'
;
import
{
setupStore
}
from
'
/@/store
'
;
import
{
setupStore
}
from
'
/@/store
'
;
import
{
setupGlobDirectives
}
from
'
/@/directives
'
;
import
{
setupGlobDirectives
}
from
'
/@/directives
'
;
...
...
src/router/guard/index.ts
浏览文件 @
cda0f9c1
import
router
from
'
/@/router
'
;
import
{
router
}
from
'
/@/router
'
;
import
{
createProgressGuard
}
from
'
./progressGuard
'
;
import
{
createProgressGuard
}
from
'
./progressGuard
'
;
import
{
createPermissionGuard
}
from
'
./permissionGuard
'
;
import
{
createPermissionGuard
}
from
'
./permissionGuard
'
;
...
...
src/router/index.ts
浏览文件 @
cda0f9c1
...
@@ -8,9 +8,9 @@ import { REDIRECT_NAME } from './constant';
...
@@ -8,9 +8,9 @@ import { REDIRECT_NAME } from './constant';
const
WHITE_NAME_LIST
=
[
LoginRoute
.
name
,
REDIRECT_NAME
];
const
WHITE_NAME_LIST
=
[
LoginRoute
.
name
,
REDIRECT_NAME
];
// app router
// app router
const
router
=
createRouter
({
export
const
router
=
createRouter
({
history
:
createWebHashHistory
(
import
.
meta
.
env
.
VITE_PUBLIC_PATH
),
history
:
createWebHashHistory
(
import
.
meta
.
env
.
VITE_PUBLIC_PATH
),
routes
:
(
basicRoutes
as
unknown
)
as
RouteRecordRaw
[],
routes
:
basicRoutes
as
unknown
as
RouteRecordRaw
[],
strict
:
true
,
strict
:
true
,
scrollBehavior
:
()
=>
({
left
:
0
,
top
:
0
}),
scrollBehavior
:
()
=>
({
left
:
0
,
top
:
0
}),
});
});
...
@@ -29,5 +29,3 @@ export function resetRouter() {
...
@@ -29,5 +29,3 @@ export function resetRouter() {
export
function
setupRouter
(
app
:
App
<
Element
>
)
{
export
function
setupRouter
(
app
:
App
<
Element
>
)
{
app
.
use
(
router
);
app
.
use
(
router
);
}
}
export
default
router
;
src/router/menus/index.ts
浏览文件 @
cda0f9c1
...
@@ -6,7 +6,7 @@ import { usePermissionStore } from '/@/store/modules/permission';
...
@@ -6,7 +6,7 @@ import { usePermissionStore } from '/@/store/modules/permission';
import
{
transformMenuModule
,
getAllParentPath
}
from
'
/@/router/helper/menuHelper
'
;
import
{
transformMenuModule
,
getAllParentPath
}
from
'
/@/router/helper/menuHelper
'
;
import
{
filter
}
from
'
/@/utils/helper/treeHelper
'
;
import
{
filter
}
from
'
/@/utils/helper/treeHelper
'
;
import
{
isUrl
}
from
'
/@/utils/is
'
;
import
{
isUrl
}
from
'
/@/utils/is
'
;
import
router
from
'
/@/router
'
;
import
{
router
}
from
'
/@/router
'
;
import
{
PermissionModeEnum
}
from
'
/@/enums/appEnum
'
;
import
{
PermissionModeEnum
}
from
'
/@/enums/appEnum
'
;
import
{
pathToRegexp
}
from
'
path-to-regexp
'
;
import
{
pathToRegexp
}
from
'
path-to-regexp
'
;
...
...
src/store/modules/user.ts
浏览文件 @
cda0f9c1
...
@@ -15,7 +15,7 @@ import { getUserInfo, loginApi } from '/@/api/sys/user';
...
@@ -15,7 +15,7 @@ import { getUserInfo, loginApi } from '/@/api/sys/user';
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
import
{
useMessage
}
from
'
/@/hooks/web/useMessage
'
;
import
{
useMessage
}
from
'
/@/hooks/web/useMessage
'
;
import
router
from
'
/@/router
'
;
import
{
router
}
from
'
/@/router
'
;
interface
UserState
{
interface
UserState
{
userInfo
:
Nullable
<
UserInfo
>
;
userInfo
:
Nullable
<
UserInfo
>
;
...
...
src/utils/propTypes.ts
浏览文件 @
cda0f9c1
...
@@ -30,11 +30,5 @@ propTypes.extend([
...
@@ -30,11 +30,5 @@ propTypes.extend([
getter
:
true
,
getter
:
true
,
type
:
undefined
,
type
:
undefined
,
},
},
// {
// name: 'trueBool',
// getter: true,
// type: Boolean,
// default: true,
// },
]);
]);
export
{
propTypes
};
export
{
propTypes
};
yarn.lock
浏览文件 @
cda0f9c1
...
@@ -1124,15 +1124,15 @@
...
@@ -1124,15 +1124,15 @@
resolved "https://registry.npmjs.org/@emmetio/scanner/-/scanner-1.0.0.tgz#065b2af6233fe7474d44823e3deb89724af42b5f"
resolved "https://registry.npmjs.org/@emmetio/scanner/-/scanner-1.0.0.tgz#065b2af6233fe7474d44823e3deb89724af42b5f"
integrity sha512-8HqW8EVqjnCmWXVpqAOZf+EGESdkR27odcMMMGefgKXtar00SoYNSryGv//TELI4T3QFsECo78p+0lmalk/CFA==
integrity sha512-8HqW8EVqjnCmWXVpqAOZf+EGESdkR27odcMMMGefgKXtar00SoYNSryGv//TELI4T3QFsECo78p+0lmalk/CFA==
"@eslint/eslintrc@^0.4.
1
":
"@eslint/eslintrc@^0.4.
2
":
version "0.4.
1
"
version "0.4.
2
"
resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.
1.tgz#442763b88cecbe3ee0ec7ca6d6dd6168550cbf14
"
resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.
2.tgz#f63d0ef06f5c0c57d76c4ab5f63d3835c51b0179
"
integrity sha512-
5v7TDE9plVhvxQeWLXDTvFvJBdH6pEsdnl2g/dAptmuFEPedQ4Erq5rsDsX+mvAM610IhNaO2W5V1dOOnDKxkQ
==
integrity sha512-
8nmGq/4ycLpIwzvhI4tNDmQztZ8sp+hI7cyG8i1nQDhkAbRzHpXPidRAHlNvCZQpJTKw5ItIpMw9RSToGF00mg
==
dependencies:
dependencies:
ajv "^6.12.4"
ajv "^6.12.4"
debug "^4.1.1"
debug "^4.1.1"
espree "^7.3.0"
espree "^7.3.0"
globals "^1
2.1
.0"
globals "^1
3.9
.0"
ignore "^4.0.6"
ignore "^4.0.6"
import-fresh "^3.2.1"
import-fresh "^3.2.1"
js-yaml "^3.13.1"
js-yaml "^3.13.1"
...
@@ -1191,10 +1191,10 @@
...
@@ -1191,10 +1191,10 @@
dependencies:
dependencies:
cross-fetch "^3.0.6"
cross-fetch "^3.0.6"
"@iconify/json@^1.1.35
0
":
"@iconify/json@^1.1.35
3
":
version "1.1.35
0
"
version "1.1.35
3
"
resolved "https://registry.
yarnpkg.com/@iconify/json/-/json-1.1.350.tgz#abd66f4ef1250306f7ce088dac637ea0d781e694
"
resolved "https://registry.
npmjs.org/@iconify/json/-/json-1.1.353.tgz#f9fb632da9b13cd79bcbea09b289610c46b87426
"
integrity sha512-
pNHlRLZCbNsk7WXZfFGPa1no3oOi5KcWFyo1Pk3cQJzPhHEqqpV7zImAGW4WJrxhlRkv/6wzZVcBF5xhkp4Avw
==
integrity sha512-
gN+DccJUhO6iB7gBPbZXodDaaxZpZTLORixrXaXNmkSW7N/jqfzMCCogoeRWOydZzSgR7VESc2tMI4llEonkjg
==
"@intlify/core-base@9.1.6":
"@intlify/core-base@9.1.6":
version "9.1.6"
version "9.1.6"
...
@@ -1688,10 +1688,10 @@
...
@@ -1688,10 +1688,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.1.tgz#5e07e0cb2ff793aa7a1b41deae76221e6166049f"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.1.tgz#5e07e0cb2ff793aa7a1b41deae76221e6166049f"
integrity sha512-/tpUyFD7meeooTRwl3sYlihx2BrJE7q9XF71EguPFIySj9B7qgnRtHsHTho+0AUm4m1SvWGm6uSncrR94q6Vtw==
integrity sha512-/tpUyFD7meeooTRwl3sYlihx2BrJE7q9XF71EguPFIySj9B7qgnRtHsHTho+0AUm4m1SvWGm6uSncrR94q6Vtw==
"@types/node@^15.12.
0
":
"@types/node@^15.12.
1
":
version "15.12.
0
"
version "15.12.
1
"
resolved "https://registry.npmjs.org/@types/node/-/node-15.12.
0.tgz#6a459d261450a300e6865faeddb5af01c3389bb3
"
resolved "https://registry.npmjs.org/@types/node/-/node-15.12.
1.tgz#9b60797dee1895383a725f828a869c86c6caa5c2
"
integrity sha512-
+aHJvoCsVhO2ZCuT4o5JtcPrCPyDE3+1nvbDprYes+pPkEsbjH7AGUCNtjMOXS0fqH14t+B7yLzaqSz92FPWy
w==
integrity sha512-
zyxJM8I1c9q5sRMtVF+zdd13Jt6RU4r4qfhTd7lQubyThvLfx6yYekWSQjGCGV2Tkecgxnlpl/DNlb6Hg+dmE
w==
"@types/normalize-package-data@^2.4.0":
"@types/normalize-package-data@^2.4.0":
version "2.4.0"
version "2.4.0"
...
@@ -2190,7 +2190,7 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0:
...
@@ -2190,7 +2190,7 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0:
ant-design-vue@2.1.2:
ant-design-vue@2.1.2:
version "2.1.2"
version "2.1.2"
resolved "https://registry.
yarnpkg.com
/ant-design-vue/-/ant-design-vue-2.1.2.tgz#2065d7e63199c0c584919458af57b6a0b597f677"
resolved "https://registry.
npmjs.org
/ant-design-vue/-/ant-design-vue-2.1.2.tgz#2065d7e63199c0c584919458af57b6a0b597f677"
integrity sha512-gDG0wauGVt4LE63behrJaIcq4BB+dgs+dpj9jz17IgKr2MPYSEeKetU/x9Kk8d58cGonz4Ulncg7fBZJ7EljsQ==
integrity sha512-gDG0wauGVt4LE63behrJaIcq4BB+dgs+dpj9jz17IgKr2MPYSEeKetU/x9Kk8d58cGonz4Ulncg7fBZJ7EljsQ==
dependencies:
dependencies:
"@ant-design-vue/use" "^0.0.1-0"
"@ant-design-vue/use" "^0.0.1-0"
...
@@ -4197,6 +4197,13 @@ es-to-primitive@^1.2.1:
...
@@ -4197,6 +4197,13 @@ es-to-primitive@^1.2.1:
is-date-object "^1.0.1"
is-date-object "^1.0.1"
is-symbol "^1.0.2"
is-symbol "^1.0.2"
esbuild-node-loader@^0.0.0:
version "0.0.0"
resolved "https://registry.npmjs.org/esbuild-node-loader/-/esbuild-node-loader-0.0.0.tgz#2243724e6f57e401ac5b68a6aeb6531e3d7c6078"
integrity sha512-f4Zs1sWMst3PwVfiRpZIos/BV31a8KVSyIXodXeQjNkgc1mLIBKw7p0uY7qbLoq7ICfrsQJgvXIwPHRSHd5qSA==
dependencies:
esbuild "^0.12.6"
esbuild-plugin-alias@^0.1.2:
esbuild-plugin-alias@^0.1.2:
version "0.1.2"
version "0.1.2"
resolved "https://registry.yarnpkg.com/esbuild-plugin-alias/-/esbuild-plugin-alias-0.1.2.tgz#1232fbde807c0c8ad44c44ec859819eb492e12a8"
resolved "https://registry.yarnpkg.com/esbuild-plugin-alias/-/esbuild-plugin-alias-0.1.2.tgz#1232fbde807c0c8ad44c44ec859819eb492e12a8"
...
@@ -4235,6 +4242,11 @@ esbuild@^0.12.5:
...
@@ -4235,6 +4242,11 @@ esbuild@^0.12.5:
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.12.5.tgz#36076a6bc1966ba2741981d30512e95e8aaff495"
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.12.5.tgz#36076a6bc1966ba2741981d30512e95e8aaff495"
integrity sha512-vcuP53pA5XiwUU4FnlXM+2PnVjTfHGthM7uP1gtp+9yfheGvFFbq/KyuESThmtoHPUrfZH5JpxGVJIFDVD1Egw==
integrity sha512-vcuP53pA5XiwUU4FnlXM+2PnVjTfHGthM7uP1gtp+9yfheGvFFbq/KyuESThmtoHPUrfZH5JpxGVJIFDVD1Egw==
esbuild@^0.12.6:
version "0.12.6"
resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.12.6.tgz#85bc755c7cf3005d4f34b4f10f98049ce0ee67ce"
integrity sha512-RDvVLvAjsq/kIZJoneMiUOH7EE7t2QaW7T3Q7EdQij14+bZbDq5sndb0tTanmHIFSqZVMBMMyqzVHkS3dJobeA==
escalade@^3.1.1:
escalade@^3.1.1:
version "3.1.1"
version "3.1.1"
resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
...
@@ -4314,13 +4326,13 @@ eslint-visitor-keys@^2.0.0:
...
@@ -4314,13 +4326,13 @@ eslint-visitor-keys@^2.0.0:
resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8"
resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8"
integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==
integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==
eslint@^7.2
7
.0:
eslint@^7.2
8
.0:
version "7.2
7
.0"
version "7.2
8
.0"
resolved "https://registry.npmjs.org/eslint/-/eslint-7.2
7.0.tgz#665a1506d8f95655c9274d84bd78f7166b07e9c7
"
resolved "https://registry.npmjs.org/eslint/-/eslint-7.2
8.0.tgz#435aa17a0b82c13bb2be9d51408b617e49c1e820
"
integrity sha512-
JZuR6La2ZF0UD384lcbnd0Cgg6QJjiCwhMD6eU4h/VGPcVGwawNNzKU41tgokGXnfjOOyI6QIffthhJTPzzuRA
==
integrity sha512-
UMfH0VSjP0G4p3EWirscJEQ/cHqnT/iuH6oNZOB94nBjWbMnhGEPxsZm1eyIW0C/9jLI0Fow4W5DXLjEI7mn1g
==
dependencies:
dependencies:
"@babel/code-frame" "7.12.11"
"@babel/code-frame" "7.12.11"
"@eslint/eslintrc" "^0.4.
1
"
"@eslint/eslintrc" "^0.4.
2
"
ajv "^6.10.0"
ajv "^6.10.0"
chalk "^4.0.0"
chalk "^4.0.0"
cross-spawn "^7.0.2"
cross-spawn "^7.0.2"
...
@@ -4337,7 +4349,7 @@ eslint@^7.27.0:
...
@@ -4337,7 +4349,7 @@ eslint@^7.27.0:
fast-deep-equal "^3.1.3"
fast-deep-equal "^3.1.3"
file-entry-cache "^6.0.1"
file-entry-cache "^6.0.1"
functional-red-black-tree "^1.0.1"
functional-red-black-tree "^1.0.1"
glob-parent "^5.
0.0
"
glob-parent "^5.
1.2
"
globals "^13.6.0"
globals "^13.6.0"
ignore "^4.0.6"
ignore "^4.0.6"
import-fresh "^3.0.0"
import-fresh "^3.0.0"
...
@@ -4359,13 +4371,14 @@ eslint@^7.27.0:
...
@@ -4359,13 +4371,14 @@ eslint@^7.27.0:
text-table "^0.2.0"
text-table "^0.2.0"
v8-compile-cache "^2.0.3"
v8-compile-cache "^2.0.3"
esno@^0.
6
.0:
esno@^0.
7
.0:
version "0.
6
.0"
version "0.
7
.0"
resolved "https://registry.
yarnpkg.com/esno/-/esno-0.6.0.tgz#9e00c314840f314fcb92f7ef89258ed1be37471d
"
resolved "https://registry.
npmjs.org/esno/-/esno-0.7.0.tgz#2bec5e80eff53b60d528d6cf244445677cce7d4c
"
integrity sha512-
fzk7/w3I9f1c6oJ6E9qGN54rEYwweM2/LxGhW8iDrhkY4VnQvpavYS6pK3SF8iZgEvmtXsY7i9fs/D09o3Xdt
g==
integrity sha512-
tOcvMYheRc7dfrxWkm4bYgmMkcNZUSt892qVY66int4L+jkEJGc64fZLx8+cZffMIcHp+4IfaTB+r+X7SoRh+
g==
dependencies:
dependencies:
cross-spawn "^7.0.3"
cross-spawn "^7.0.3"
esbuild "^0.12.5"
esbuild "^0.12.5"
esbuild-node-loader "^0.0.0"
esbuild-register "^2.5.0"
esbuild-register "^2.5.0"
espree@^6.2.1:
espree@^6.2.1:
...
@@ -5124,7 +5137,7 @@ gitconfiglocal@^1.0.0:
...
@@ -5124,7 +5137,7 @@ gitconfiglocal@^1.0.0:
dependencies:
dependencies:
ini "^1.3.2"
ini "^1.3.2"
glob-parent@^5.
0.0, glob-parent@^5.1.0
, glob-parent@~5.1.0:
glob-parent@^5.
1.0, glob-parent@^5.1.2
, glob-parent@~5.1.0:
version "5.1.2"
version "5.1.2"
resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
...
@@ -5215,13 +5228,6 @@ globals@^11.1.0:
...
@@ -5215,13 +5228,6 @@ globals@^11.1.0:
resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==
integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==
globals@^12.1.0:
version "12.4.0"
resolved "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz#a18813576a41b00a24a97e7f815918c2e19925f8"
integrity sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==
dependencies:
type-fest "^0.8.1"
globals@^13.6.0:
globals@^13.6.0:
version "13.8.0"
version "13.8.0"
resolved "https://registry.npmjs.org/globals/-/globals-13.8.0.tgz#3e20f504810ce87a8d72e55aecf8435b50f4c1b3"
resolved "https://registry.npmjs.org/globals/-/globals-13.8.0.tgz#3e20f504810ce87a8d72e55aecf8435b50f4c1b3"
...
@@ -5229,6 +5235,13 @@ globals@^13.6.0:
...
@@ -5229,6 +5235,13 @@ globals@^13.6.0:
dependencies:
dependencies:
type-fest "^0.20.2"
type-fest "^0.20.2"
globals@^13.9.0:
version "13.9.0"
resolved "https://registry.npmjs.org/globals/-/globals-13.9.0.tgz#4bf2bf635b334a173fb1daf7c5e6b218ecdc06cb"
integrity sha512-74/FduwI/JaIrr1H8e71UbDE+5x7pIPs1C2rrwC52SszOo043CsWOZEMW7o2Y58xwm9b+0RBKDxY5n2sUpEFxA==
dependencies:
type-fest "^0.20.2"
globby@^10.0.0:
globby@^10.0.0:
version "10.0.2"
version "10.0.2"
resolved "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543"
resolved "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543"
...
@@ -6073,7 +6086,7 @@ is-jpg@^2.0.0:
...
@@ -6073,7 +6086,7 @@ is-jpg@^2.0.0:
is-mobile@^2.2.1:
is-mobile@^2.2.1:
version "2.2.2"
version "2.2.2"
resolved "https://registry.
yarnpkg.com
/is-mobile/-/is-mobile-2.2.2.tgz#f6c9c5d50ee01254ce05e739bdd835f1ed4e9954"
resolved "https://registry.
npmjs.org
/is-mobile/-/is-mobile-2.2.2.tgz#f6c9c5d50ee01254ce05e739bdd835f1ed4e9954"
integrity sha512-wW/SXnYJkTjs++tVK5b6kVITZpAZPtUrt9SF80vvxGiF/Oywal+COk1jlRkiVq15RFNEQKQY31TkV24/1T5cVg==
integrity sha512-wW/SXnYJkTjs++tVK5b6kVITZpAZPtUrt9SF80vvxGiF/Oywal+COk1jlRkiVq15RFNEQKQY31TkV24/1T5cVg==
is-module@^1.0.0:
is-module@^1.0.0:
...
@@ -8207,10 +8220,10 @@ prettier@^1.16.4, prettier@^1.18.2:
...
@@ -8207,10 +8220,10 @@ prettier@^1.16.4, prettier@^1.18.2:
resolved "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
resolved "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
prettier@^2.3.
0
:
prettier@^2.3.
1
:
version "2.3.
0
"
version "2.3.
1
"
resolved "https://registry.npmjs.org/prettier/-/prettier-2.3.
0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18
"
resolved "https://registry.npmjs.org/prettier/-/prettier-2.3.
1.tgz#76903c3f8c4449bc9ac597acefa24dc5ad4cbea6
"
integrity sha512-
kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w
==
integrity sha512-
p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA
==
pretty-bytes@^5.3.0, pretty-bytes@^5.6.0:
pretty-bytes@^5.3.0, pretty-bytes@^5.6.0:
version "5.6.0"
version "5.6.0"
...
@@ -8863,10 +8876,10 @@ rollup-plugin-visualizer@5.5.0:
...
@@ -8863,10 +8876,10 @@ rollup-plugin-visualizer@5.5.0:
source-map "^0.7.3"
source-map "^0.7.3"
yargs "^16.2.0"
yargs "^16.2.0"
rollup@^2.38.5, rollup@^2.43.1, rollup@^2.45.2, rollup@^2.5
0.6
:
rollup@^2.38.5, rollup@^2.43.1, rollup@^2.45.2, rollup@^2.5
1.0
:
version "2.5
0.6
"
version "2.5
1.0
"
resolved "https://registry.npmjs.org/rollup/-/rollup-2.5
0.6.tgz#24e2211caf9031081656e98a5e5e94d3b5e786e2
"
resolved "https://registry.npmjs.org/rollup/-/rollup-2.5
1.0.tgz#ffd847882283998fc8611cd57af917f173b4ab5c
"
integrity sha512-
6c5CJPLVgo0iNaZWWliNu1Kl43tjP9LZcp6D/tkf2eLH2a9/WeHxg9vfTFl8QV/2SOyaJX37CEm9XuGM0rvi
Ug==
integrity sha512-
ITLt9sScNCBVspSHauw/W49lEZ0vjN8LyCzSNsNaqT67vTss2lYEfOyxltX8hjrhr1l/rQwmZ2wazzEqhZ/f
Ug==
optionalDependencies:
optionalDependencies:
fsevents "~2.3.1"
fsevents "~2.3.1"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录