@dolphinweex/weex-vue-render 0.2.99 → 0.2.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2746,7 +2746,7 @@ function init$1 (viewportWidth) {
2746
2746
  var newWidth = doc.documentElement.clientWidth;
2747
2747
  var newHeight = doc.documentElement.clientHeight;
2748
2748
  console.log('[px2rem] poll@' + label + ': clientWidth=' + newWidth + ' (was ' + screenWidth + ')');
2749
- if (newWidth > screenWidt && window.orientation === 0) {
2749
+ if (newWidth > screenWidth && window.orientation === 0) {
2750
2750
  console.log('[px2rem] poll@' + label + ' FIX triggered: ' + screenWidth + ' -> ' + newWidth);
2751
2751
  screenWidth = newWidth;
2752
2752
  screenHeight = newHeight;
@@ -5695,7 +5695,7 @@ function getInput (weex) {
5695
5695
  'returnKeyType': this.returnKeyType
5696
5696
  },
5697
5697
  domProps: {
5698
- value: displayValue
5698
+ value: (this.$el && this.$el.value !== undefined && this.$el.value !== displayValue) ? this.$el.value : displayValue
5699
5699
  },
5700
5700
  on: this.createKeyboardEvent(events),
5701
5701
  staticClass: 'weex-input weex-el',
package/package.json CHANGED
@@ -49,5 +49,5 @@
49
49
  "type": "git",
50
50
  "url": "git+ssh://git@github.com/weexteam/weex-vue-render.git"
51
51
  },
52
- "version": "0.2.99"
52
+ "version": "0.2.101"
53
53
  }