@v2coding/ui 0.1.56 → 0.1.57
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
|
@@ -2828,7 +2828,7 @@ var script$z = {
|
|
|
2828
2828
|
initDefaultValue(data) {
|
|
2829
2829
|
if (this.lockedValue) {
|
|
2830
2830
|
if (this.value !== this.lockedValue) {
|
|
2831
|
-
this.onChange(this.lockedValue, true);
|
|
2831
|
+
this.onChange(this.getPickerValue(this.lockedValue), true);
|
|
2832
2832
|
}
|
|
2833
2833
|
|
|
2834
2834
|
return;
|
|
@@ -2846,7 +2846,7 @@ var script$z = {
|
|
|
2846
2846
|
}
|
|
2847
2847
|
|
|
2848
2848
|
const first = data.find(Boolean);
|
|
2849
|
-
first && first.value !== this.value && this.onChange(first.value, true);
|
|
2849
|
+
first && first.value !== this.value && this.onChange(this.getPickerValue(first.value), true);
|
|
2850
2850
|
},
|
|
2851
2851
|
|
|
2852
2852
|
getPickerValue(value) {
|
|
@@ -3081,7 +3081,7 @@ var __vue_staticRenderFns__$z = [];
|
|
|
3081
3081
|
|
|
3082
3082
|
const __vue_inject_styles__$A = function (inject) {
|
|
3083
3083
|
if (!inject) return;
|
|
3084
|
-
inject("data-v-
|
|
3084
|
+
inject("data-v-3c9745c2_0", {
|
|
3085
3085
|
source: ".ui-field-select .el-select{width:100%}.ui-field-select .el-input-group--append .el-select .el-input.is-focus .el-input__inner{border-color:var(--color-primary)}.ui-field-select .empty{font-size:12px;color:#909399;display:flex;align-items:center}.ui-field-select .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
3086
3086
|
map: undefined,
|
|
3087
3087
|
media: undefined
|
|
@@ -10087,6 +10087,7 @@ const DefaultTypes = {
|
|
|
10087
10087
|
direction: 'vertical'
|
|
10088
10088
|
}
|
|
10089
10089
|
}) : null, h('el-button', {
|
|
10090
|
+
attrs: props,
|
|
10090
10091
|
props: {
|
|
10091
10092
|
type: 'text',
|
|
10092
10093
|
size: 'mini',
|
|
@@ -10128,6 +10129,7 @@ const DefaultTypes = {
|
|
|
10128
10129
|
...props
|
|
10129
10130
|
} = _ref8;
|
|
10130
10131
|
return h('el-dropdown-item', {
|
|
10132
|
+
attrs: props,
|
|
10131
10133
|
props: { ...props,
|
|
10132
10134
|
command: key
|
|
10133
10135
|
}
|