@nutui/nutui 4.0.6 → 4.0.7-beta.2

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.
@@ -83,6 +83,7 @@ const _sfc_main = create({
83
83
  return {
84
84
  classes,
85
85
  style,
86
+ isActive,
86
87
  onClick
87
88
  };
88
89
  }
@@ -104,10 +105,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
104
105
  ]) : createCommentVNode("", true),
105
106
  _ctx.activeText ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
106
107
  withDirectives(createElementVNode("view", { class: "nut-switch-label open" }, toDisplayString(_ctx.activeText), 513), [
107
- [vShow, _ctx.modelValue]
108
+ [vShow, _ctx.isActive]
108
109
  ]),
109
110
  withDirectives(createElementVNode("view", { class: "nut-switch-label close" }, toDisplayString(_ctx.inactiveText), 513), [
110
- [vShow, !_ctx.modelValue]
111
+ [vShow, !_ctx.isActive]
111
112
  ])
112
113
  ], 64)) : createCommentVNode("", true)
113
114
  ])
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "NutUI",
5
- "version": "4.0.6",
5
+ "version": "4.0.7-beta.2",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [