@nutui/nutui 4.0.6-beta.3 → 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.
- package/CHANGELOG.md +18 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/_es/Switch.js +3 -2
- package/dist/packages/rate/index.scss +0 -1
- package/dist/smartips/web-types.json +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +53 -53
- package/dist/styles/themes/jdb.scss +53 -53
- package/dist/styles/themes/jddkh.scss +53 -53
- package/dist/styles/themes/jdt.scss +53 -53
- package/dist/types/__VUE/button/type.d.ts +1 -0
- package/dist/types/__VUE/switch/index.vue.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
108
|
+
[vShow, _ctx.isActive]
|
|
108
109
|
]),
|
|
109
110
|
withDirectives(createElementVNode("view", { class: "nut-switch-label close" }, toDisplayString(_ctx.inactiveText), 513), [
|
|
110
|
-
[vShow, !_ctx.
|
|
111
|
+
[vShow, !_ctx.isActive]
|
|
111
112
|
])
|
|
112
113
|
], 64)) : createCommentVNode("", true)
|
|
113
114
|
])
|