Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
traceSourceMb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yanyanhong
traceSourceMb
Commits
cc8b88d9
Commit
cc8b88d9
authored
May 30, 2020
by
yyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码风格优化
parent
4c9219de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
TypeSix.vue
src/components/template/TypeSix.vue
+1
-1
utils.ts
src/utils/utils.ts
+5
-6
No files found.
src/components/template/TypeSix.vue
View file @
cc8b88d9
...
...
@@ -21,7 +21,7 @@
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
'vue-property-decorator'
;
import
{
Field
,
Popup
,
DatetimePicker
}
from
'vant'
;
import
filter
from
'@/filter/
index
.ts'
;
import
filter
from
'@/filter/
filters
.ts'
;
@
Component
({
components
:
{
[
Field
.
name
]:
Field
,
...
...
src/utils/utils.ts
View file @
cc8b88d9
export
function
importAll
(
r
)
{
export
function
importAll
(
r
:
any
)
{
const
__modules
:
any
=
{};
r
.
keys
().
forEach
(
key
=>
{
le
t
m
=
(
r
(
key
)).
default
;
le
t
n
=
m
.
name
;
r
.
keys
().
forEach
(
(
key
:
any
)
=>
{
cons
t
m
=
(
r
(
key
)).
default
;
cons
t
n
=
m
.
name
;
__modules
[
n
]
=
m
;
});
return
__modules
;
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment