@opentiny/vue-button-group
Advanced tools
Comparing version 2.12.0 to 2.13.0
@@ -19,2 +19,4 @@ function _extends() { | ||
var template = function template2(mode) { | ||
var _process$env; | ||
typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null; | ||
return PcTemplate; | ||
@@ -67,3 +69,3 @@ }; | ||
}); | ||
var version = "2.12.0"; | ||
var version = "2.13.0"; | ||
ButtonGroup.model = { | ||
@@ -70,0 +72,0 @@ prop: "modelValue", |
@@ -86,3 +86,3 @@ import { renderless, api } from "@opentiny/vue-renderless/button-group/vue"; | ||
}, [_vm._t("default", function() { | ||
return [!(_vm.showMore && _vm.showMore > 0) ? _c("ul", { | ||
return [_vm.data.length > 0 ? [!(_vm.showMore && _vm.showMore > 0) ? _c("ul", { | ||
staticClass: "tiny-group-item" | ||
@@ -185,3 +185,5 @@ }, _vm._l(_vm.data, function(node, index) { | ||
} | ||
}, [_c("icon-writing")], 1)], 1) : _vm._e()], 2)]; | ||
}, [_c("icon-writing")], 1)], 1) : _vm._e()], 2)] : _c("span", { | ||
staticClass: "tiny-button-group--empty" | ||
}, [_vm._v(" 暂无数据 ")])]; | ||
})], 2); | ||
@@ -188,0 +190,0 @@ }; |
{ | ||
"name": "@opentiny/vue-button-group", | ||
"version": "2.12.0", | ||
"version": "2.13.0", | ||
"description": "", | ||
@@ -10,4 +10,4 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~2.12.0", | ||
"@opentiny/vue-renderless": "~3.12.0" | ||
"@opentiny/vue-common": "~2.13.0", | ||
"@opentiny/vue-renderless": "~3.13.0" | ||
}, | ||
@@ -14,0 +14,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12420
333
2
+ Added@opentiny/vue-common@2.13.1(transitive)
+ Added@opentiny/vue-locale@2.13.0(transitive)
+ Added@opentiny/vue-renderless@3.13.2(transitive)
+ Added@opentiny/vue-theme@3.13.3(transitive)
+ Added@opentiny/vue-theme-mobile@3.13.0(transitive)
- Removed@opentiny/vue-common@2.12.0(transitive)
- Removed@opentiny/vue-locale@2.12.0(transitive)
- Removed@opentiny/vue-renderless@3.12.1(transitive)
- Removed@opentiny/vue-theme@3.12.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.12.0(transitive)
Updated@opentiny/vue-common@~2.13.0