From d3a32d734368dfeb7cfc7a3531b1c2afbe2bd459 Mon Sep 17 00:00:00 2001 From: "qingwei.li" Date: Fri, 18 Nov 2016 19:14:56 +0800 Subject: [PATCH] Update: release script --- build/release.sh | 9 ++++++--- packages/table/src/table-column.js | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/build/release.sh b/build/release.sh index 93ba423b..1a05b4bb 100644 --- a/build/release.sh +++ b/build/release.sh @@ -1,3 +1,6 @@ +git checkout master +git merge dev + #!/usr/bin/env sh set -e echo "Enter release version: " @@ -25,11 +28,11 @@ then npm version $VERSION --message "[release] $VERSION" # publish - git push eleme dev - git checkout master - git merge dev git push eleme master git push eleme refs/tags/v$VERSION + git checkout dev + git merge master + git push eleme dev npm publish fi diff --git a/packages/table/src/table-column.js b/packages/table/src/table-column.js index fd9ea95e..9a13ebe3 100644 --- a/packages/table/src/table-column.js +++ b/packages/table/src/table-column.js @@ -217,6 +217,7 @@ export default { if (Object.prototype.toString.call(data._self) === '[object Object]') { for (let prop in data._self) { if (!data.hasOwnProperty(prop)) { + // _self.$set(data, prop, data._self[prop]); data[prop] = data._self[prop]; } }