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
2a745aa8
Commit
2a745aa8
authored
Oct 26, 2017
by
Leopoldthecoder
Committed by
杨奕
Oct 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Form: fix validateDisabled
parent
4aff6382
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
23 deletions
+7
-23
build/deploy-ci.sh
build/deploy-ci.sh
+0
-2
build/deploy-faas.sh
build/deploy-faas.sh
+2
-2
build/git-release.sh
build/git-release.sh
+1
-1
build/release.sh
build/release.sh
+3
-18
packages/form/src/form-item.vue
packages/form/src/form-item.vue
+1
-0
No files found.
build/deploy-ci.sh
View file @
2a745aa8
...
...
@@ -44,9 +44,7 @@ if [ "$TRAVIS_TAG" ]; then
SUB_FOLDER
=
'1.4'
mkdir
$SUB_FOLDER
rm
-rf
*
.js
*
.css
*
.map static
rm
-rf
$SUB_FOLDER
/
**
cp
-rf
../../examples/element-ui/
**
.
cp
-rf
../../examples/element-ui/
**
$SUB_FOLDER
/
git add
-A
.
git commit
-m
"
$TRAVIS_COMMIT_MSG
"
...
...
build/deploy-faas.sh
View file @
2a745aa8
...
...
@@ -8,9 +8,9 @@ git clone -b gh-pages https://github.com/ElemeFE/element.git && cd element
SUB_FOLDER
=
'1.4'
mkdir
$SUB_FOLDER
rm
-rf
*
.js
*
.css
*
.map static
#
rm -rf *.js *.css *.map static
rm
-rf
$SUB_FOLDER
/
**
cp
-rf
../../examples/element-ui/
**
.
#
cp -rf ../../examples/element-ui/** .
cp
-rf
../../examples/element-ui/
**
$SUB_FOLDER
/
cd
../..
...
...
build/git-release.sh
View file @
2a745aa8
#!/usr/bin/env sh
git checkout
dev
git checkout
1.x
if
test
-n
"
$(
git status
--porcelain
)
"
;
then
echo
'Unclean working tree. Commit or stash changes first.'
>
&2
;
...
...
build/release.sh
View file @
2a745aa8
git checkout master
git merge dev
#!/usr/bin/env sh
set
-e
echo
"Enter release version: "
...
...
@@ -19,11 +16,7 @@ then
echo
"Releasing theme-default
$VERSION
..."
cd
packages/theme-default
npm version
$VERSION
--message
"[release]
$VERSION
"
if
[[
$VERSION
=
~
"beta"
]]
then
npm publish
--tag
beta
else
npm publish
npm publish
fi
cd
../..
...
...
@@ -33,16 +26,8 @@ then
npm version
$VERSION
--message
"[release]
$VERSION
"
# publish
git push eleme
master
git push eleme
1.x
git push eleme refs/tags/v
$VERSION
git checkout dev
git rebase master
git push eleme dev
if
[[
$VERSION
=
~
"beta"
]]
then
npm publish
--tag
beta
else
npm publish
fi
npm publish
--tag
legacy
fi
packages/form/src/form-item.vue
View file @
2a745aa8
...
...
@@ -147,6 +147,7 @@
},
methods
:
{
validate
(
trigger
,
callback
=
noop
)
{
this
.
validateDisabled
=
false
;
var
rules
=
this
.
getFilteredRule
(
trigger
);
if
((
!
rules
||
rules
.
length
===
0
)
&&
!
this
.
_props
.
hasOwnProperty
(
'
required
'
))
{
callback
();
...
...
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