qidian-vue-ui 2.8.2 → 2.8.3
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/components/dict/checkbox-group/index.css +1 -1
- package/dist/components/dict/checkbox-group/index.vue.mjs +1 -1
- package/dist/components/dict/checkbox-group/index.vue2.mjs +1 -1
- package/dist/components/dict/radio-group/index.css +1 -1
- package/dist/components/dict/radio-group/index.vue.mjs +1 -1
- package/dist/components/dict/radio-group/index.vue2.mjs +2 -3
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import './index.css'
|
|
|
2
2
|
import _sfc_main from "./index.vue2.mjs";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d5864fce"]]);
|
|
6
6
|
export {
|
|
7
7
|
index as default
|
|
8
8
|
};
|
|
@@ -50,7 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
50
|
return modelValue.value = val.join(
|
|
51
51
|
(typeof convStr === "string" ? convStr : "") || qdDictConvStrSeparator
|
|
52
52
|
);
|
|
53
|
-
modelValue.value = reProps.value.strict ? val : val.map((item) =>
|
|
53
|
+
modelValue.value = reProps.value.strict ? val : val.map((item) => String(item));
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
const dictType = toRef(props, "dictType");
|
|
@@ -2,7 +2,7 @@ import './index.css'
|
|
|
2
2
|
import _sfc_main from "./index.vue2.mjs";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c130a64b"]]);
|
|
6
6
|
export {
|
|
7
7
|
index as default
|
|
8
8
|
};
|
|
@@ -36,11 +36,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
const dictType = toRef(props, "dictType");
|
|
37
37
|
const reModelValue = computed({
|
|
38
38
|
get: () => {
|
|
39
|
-
|
|
40
|
-
return String(modelValue.value);
|
|
39
|
+
return !reProps.value.strict && !isEmpty(modelValue.value) ? String(modelValue.value) : modelValue.value;
|
|
41
40
|
},
|
|
42
41
|
set: (val) => {
|
|
43
|
-
modelValue.value = !reProps.value.strict &&
|
|
42
|
+
modelValue.value = !reProps.value.strict && !isEmpty(val) ? String(val) : val;
|
|
44
43
|
}
|
|
45
44
|
});
|
|
46
45
|
const reProps = computed(() => {
|