Table: fix dorender in created, fixed #121

pull/127/head
qingwei.li 2016-09-22 15:41:04 +08:00
parent cded5dff61
commit eb24d57a3c
4 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
## 更新日志 ## 更新日志
- 修复 Table 头部不同步的问题
### 1.0.0-rc.4 ### 1.0.0-rc.4
*2016-09-21* *2016-09-21*

View File

@ -10,7 +10,7 @@
"scripts": { "scripts": {
"build:file": "node bin/iconInit.js & node bin/build-entry.js", "build:file": "node bin/iconInit.js & node bin/build-entry.js",
"dev": "npm run bootstrap && npm run build:file && cooking watch -c scripts/cooking.demo.js -p", "dev": "npm run bootstrap && npm run build:file && cooking watch -c scripts/cooking.demo.js -p",
"dist": "npm run lint && del -f lib && cooking build -c scripts/cooking.conf.js,scripts/cooking.common.js,scripts/cooking.component.js -p && npm run build:theme", "dist": "npm run lint && npm run build:file && del -f lib && cooking build -c scripts/cooking.conf.js,scripts/cooking.common.js,scripts/cooking.component.js -p && npm run build:theme",
"dist:all": "node bin/build-all.js && npm run build:theme", "dist:all": "node bin/build-all.js && npm run build:theme",
"build:theme": "gulp build --gulpfile packages/theme-default/gulpfile.js && cp-cli packages/theme-default/lib lib/theme-default", "build:theme": "gulp build --gulpfile packages/theme-default/gulpfile.js && cp-cli packages/theme-default/lib lib/theme-default",
"deploy": "npm run build:file && cooking build -c scripts/cooking.demo.js -p && echo element.eleme.io>>examples/element-ui/CNAME && gh-pages -d examples/element-ui --remote eleme && del examples/element-ui", "deploy": "npm run build:file && cooking build -c scripts/cooking.demo.js -p && echo element.eleme.io>>examples/element-ui/CNAME && gh-pages -d examples/element-ui --remote eleme && del examples/element-ui",

View File

@ -408,7 +408,7 @@
this.styleNode = styleNode; this.styleNode = styleNode;
this.$nextTick(_ => this.doRender()); this.doRender();
this.$ready = true; this.$ready = true;
if (this.tableData) { if (this.tableData) {

View File

@ -126,7 +126,7 @@ if (typeof window !== 'undefined' && window.Vue) {
}; };
module.exports = { module.exports = {
version: '1.0.0-rc.3', version: '1.0.0-rc.4',
install, install,
SelectDropdown, SelectDropdown,
Pagination, Pagination,