Skip to content

Commit f97f60d

Browse files
committed
Generated dist folder.
1 parent c90fdbc commit f97f60d

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

dist/inkline.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12313,13 +12313,16 @@ __webpack_require__.r(__webpack_exports__);
1231312313
},
1231412314
watch: {
1231512315
model: function model(value) {
12316+
this.setLabelModel(value);
12317+
}
12318+
},
12319+
methods: {
12320+
setLabelModel: function setLabelModel(value) {
1231612321
var option = this.options.find(function (o) {
1231712322
return o.value === value;
1231812323
});
1231912324
this.labelModel = option.label || option.value;
12320-
}
12321-
},
12322-
methods: {
12325+
},
1232312326
focusInputRef: function focusInputRef() {
1232412327
this.isMobile ? this.$refs.select.focus() : this.$refs.input.focusInputRef();
1232512328
},
@@ -12351,6 +12354,10 @@ __webpack_require__.r(__webpack_exports__);
1235112354
mounted: function mounted() {
1235212355
this.initElements();
1235312356
this.$on('init', this.initElements);
12357+
12358+
if (this.value) {
12359+
this.setLabelModel(this.value);
12360+
}
1235412361
}
1235512362
});
1235612363

dist/inkline.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)