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
53f9e5ee
Commit
53f9e5ee
authored
Oct 05, 2017
by
Leopoldthecoder
Committed by
杨奕
Oct 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changelog: update for 2.0.0-alpha.2
parent
f073a087
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
4 deletions
+23
-4
CHANGELOG.en-US.md
CHANGELOG.en-US.md
+10
-0
CHANGELOG.zh-CN.md
CHANGELOG.zh-CN.md
+9
-0
examples/components/theme-picker.vue
examples/components/theme-picker.vue
+4
-4
No files found.
CHANGELOG.en-US.md
View file @
53f9e5ee
## Changelog
### 2.0.0-alpha.2
*2017-10-05*
-
Updated the primary color of
`theme-chalk`
, #7351
-
Fixed console error when using Dropdown, #7322
-
Fixed console error when using Menu, #7321
-
Added
`popper-class`
attribute for ColorPicker, #7351
-
Now Button's
`disabled`
attribute works correctly, #7352
### 2.0.0-alpha.1
*2017-09-30*
...
...
CHANGELOG.zh-CN.md
View file @
53f9e5ee
## 更新日志
### 2.0.0-alpha.2
*2017-10-05*
-
修正
`theme-chalk`
的主色,#7351
-
修复使用 Dropdown 时控制台报错的问题,#7322
-
修复使用 Menu 时控制台报错的问题,#7321
-
ColorPicker 新增
`popper-class`
属性,#7351
-
修复 Button 的
`disabled`
属性无效的问题,#7352
### 2.0.0-alpha.1
*2017-09-30*
...
...
examples/components/theme-picker.vue
View file @
53f9e5ee
...
...
@@ -39,10 +39,10 @@
if
(
typeof
val
!==
'
string
'
)
return
;
const
themeCluster
=
this
.
getThemeCluster
(
val
.
replace
(
'
#
'
,
''
));
const
originalCluster
=
this
.
getThemeCluster
(
oldVal
.
replace
(
'
#
'
,
''
));
const
getHandler
=
(
text
,
id
)
=>
{
const
getHandler
=
(
variable
,
id
)
=>
{
return
()
=>
{
const
originalCluster
=
this
.
getThemeCluster
(
ORIGINAL_THEME
.
replace
(
'
#
'
,
''
));
let
newStyle
=
this
.
updateStyle
(
t
ext
,
originalCluster
,
themeCluster
);
let
newStyle
=
this
.
updateStyle
(
t
his
[
variable
]
,
originalCluster
,
themeCluster
);
let
styleTag
=
document
.
getElementById
(
id
);
if
(
!
styleTag
)
{
...
...
@@ -54,8 +54,8 @@
};
};
const
chalkHandler
=
getHandler
(
this
.
chalk
,
'
chalk-style
'
);
const
docsHandler
=
getHandler
(
this
.
docs
,
'
docs-style
'
);
const
chalkHandler
=
getHandler
(
'
chalk
'
,
'
chalk-style
'
);
const
docsHandler
=
getHandler
(
'
docs
'
,
'
docs-style
'
);
if
(
!
this
.
chalk
)
{
const
url
=
`https://unpkg.com/element-ui@
${
version
}
/lib/theme-chalk/index.css`
;
...
...
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