Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
1a52458a
Commit
1a52458a
authored
Jan 10, 2019
by
ziyoung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: use shadow CDN and fix typo
parent
5f181c31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
examples/index.tpl
examples/index.tpl
+2
-2
packages/form/src/form.vue
packages/form/src/form.vue
+1
-1
No files found.
examples/index.tpl
View file @
1a52458a
...
...
@@ -14,8 +14,8 @@
}
</script>
<div
id=
"app"
></div><
%
if
(process.env.NODE_ENV =
==
'
production
')
{
%
>
<script
src=
"//
cdn.jsdelivr.net
/npm/vue@2.5.2/dist/vue.runtime.min.js"
></script>
<script
src=
"//
cdn.jsdelivr.net
/npm/vue-router@2.7.0/dist/vue-router.min.js"
></script><
%
}
%
>
<script
src=
"//
shadow.elemecdn.com
/npm/vue@2.5.2/dist/vue.runtime.min.js"
></script>
<script
src=
"//
shadow.elemecdn.com
/npm/vue-router@2.7.0/dist/vue-router.min.js"
></script><
%
}
%
>
</body>
<
%
if
(process.env.NODE_ENV =
==
'
production
')
{
%
><script>
(
function
(
i
,
s
,
o
,
g
,
r
,
a
,
m
)
{
i
[
'GoogleAnalyticsObject'
]=
r
;
i
[
r
]=
i
[
r
]||
function
()
{
...
...
packages/form/src/form.vue
View file @
1a52458a
...
...
@@ -135,7 +135,7 @@
props
=
[].
concat
(
props
);
const
fields
=
this
.
fields
.
filter
(
field
=>
props
.
indexOf
(
field
.
prop
)
!==
-
1
);
if
(
!
fields
.
length
)
{
con
firm
.
warn
(
'
[Element Warn]please pass correct props!
'
);
con
sole
.
warn
(
'
[Element Warn]please pass correct props!
'
);
return
;
}
...
...
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