wlwy-package 3.1.49 → 3.1.51
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/style.css +1 -1
- package/dist/wlwy-package.es.js +7 -4
- package/package.json +1 -1
package/dist/wlwy-package.es.js
CHANGED
|
@@ -15837,8 +15837,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
15837
15837
|
emits: /* @__PURE__ */ mergeModels(["tabChange"], ["update:activeTabKey"]),
|
|
15838
15838
|
setup(__props, { emit: __emit }) {
|
|
15839
15839
|
useCssVars((_ctx) => ({
|
|
15840
|
-
"
|
|
15841
|
-
"
|
|
15840
|
+
"5f02f252": unref(token).colorPrimary,
|
|
15841
|
+
"3b487c1d": unref(token).colorError
|
|
15842
15842
|
}));
|
|
15843
15843
|
const { t: t2 } = useI18n();
|
|
15844
15844
|
const { token } = theme.useToken();
|
|
@@ -15872,8 +15872,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
15872
15872
|
function onTabChange(key) {
|
|
15873
15873
|
var _a;
|
|
15874
15874
|
const original = (_a = props.tabList) == null ? void 0 : _a.find((item) => `${item.key}` === `${key}`);
|
|
15875
|
-
|
|
15876
|
-
|
|
15875
|
+
if (original == null ? void 0 : original.key) {
|
|
15876
|
+
key = original == null ? void 0 : original.key;
|
|
15877
|
+
}
|
|
15878
|
+
activeTabKey.value = key;
|
|
15879
|
+
emit("tabChange", key, original);
|
|
15877
15880
|
}
|
|
15878
15881
|
return (_ctx, _cache) => {
|
|
15879
15882
|
return openBlock(), createBlock(unref(Card), mergeProps({ class: "w-card" }, { ...attrs.value }, {
|