@v2coding/ui 0.1.36 → 0.1.37
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/v2coding-ui.esm.js
CHANGED
|
@@ -1862,13 +1862,18 @@ var FieldMixin = {
|
|
|
1862
1862
|
this.$emit('ready');
|
|
1863
1863
|
},
|
|
1864
1864
|
|
|
1865
|
-
emitChange() {
|
|
1865
|
+
async emitChange() {
|
|
1866
1866
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
1867
1867
|
args[_key] = arguments[_key];
|
|
1868
1868
|
}
|
|
1869
1869
|
|
|
1870
1870
|
this.$emit('input', ...args);
|
|
1871
1871
|
this.$emit('change', ...args);
|
|
1872
|
+
await this.$nextTick();
|
|
1873
|
+
|
|
1874
|
+
if (this.$parent.$options.componentName === 'ElFormItem') {
|
|
1875
|
+
this.$parent.validate('change');
|
|
1876
|
+
}
|
|
1872
1877
|
},
|
|
1873
1878
|
|
|
1874
1879
|
onChange(val) {
|