@dolphinweex/weex-vue-render 0.2.87 → 0.2.89
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.
- package/dist/index.common.js +2 -7
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -4073,7 +4073,7 @@ function initEnv (viewportInfo, envInfo) {
|
|
|
4073
4073
|
weexVersion: '1.0.36',
|
|
4074
4074
|
layoutDirection: 'ltr',
|
|
4075
4075
|
userAgent: navigator.userAgent,
|
|
4076
|
-
appName:
|
|
4076
|
+
appName: device_display.appName || '',
|
|
4077
4077
|
appVersion: device_display.appVersion,
|
|
4078
4078
|
osName: osName,
|
|
4079
4079
|
osVersion: osVersion,
|
|
@@ -5201,7 +5201,7 @@ var findEnterKeyType = function (key) {
|
|
|
5201
5201
|
};
|
|
5202
5202
|
|
|
5203
5203
|
var inputCommon = {
|
|
5204
|
-
mounted
|
|
5204
|
+
mounted () {
|
|
5205
5205
|
var this$1 = this;
|
|
5206
5206
|
|
|
5207
5207
|
if (this.autofocus !== 'false' && this.autofocus !== false) {
|
|
@@ -5632,11 +5632,6 @@ function getInput (weex) {
|
|
|
5632
5632
|
placeholderColor: String
|
|
5633
5633
|
},
|
|
5634
5634
|
|
|
5635
|
-
mounted: function mounted () {
|
|
5636
|
-
if (this.autofocus === 'true' || this.autofocus === true) {
|
|
5637
|
-
this.focus(this.autofocus)
|
|
5638
|
-
}
|
|
5639
|
-
},
|
|
5640
5635
|
//用watch监听新值,处理可能页面可能通过setimeout重新赋值的情况
|
|
5641
5636
|
watch: {
|
|
5642
5637
|
autofocus: function autofocus(val) {
|
package/package.json
CHANGED