2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-06 11:32:24 +03:00
This commit is contained in:
rawilk
2020-08-30 20:11:35 -05:00
parent 20d3c22f2b
commit 633eb31afd
4 changed files with 182 additions and 85 deletions
+35 -40
View File
@@ -405,8 +405,6 @@ __webpack_require__.r(__webpack_exports__);
//
//
//
//
//
/* harmony default export */ __webpack_exports__["default"] = ({
@@ -2502,46 +2500,43 @@ var render = function() {
_vm._v(" "),
_c("vue-context", {
ref: "menu",
scopedSlots: _vm._u(
[
{
key: "default",
fn: function(child) {
return child.data
? [
_c("li", [
_c(
"a",
{
attrs: { href: "#" },
on: {
click: function($event) {
$event.preventDefault()
return _vm.toggle(child.data)
}
scopedSlots: _vm._u([
{
key: "default",
fn: function(ref) {
var color = ref.data
return [
color
? _c("li", [
_c(
"a",
{
attrs: { href: "#" },
on: {
click: function($event) {
$event.preventDefault()
return _vm.toggle(color)
}
},
[
_vm._v(
"\n " +
_vm._s(
_vm.hasColor(child.data.hex)
? "Remove Color"
: "Select Color"
) +
"\n "
)
]
)
])
]
: undefined
}
}
},
[
_vm._v(
"\n " +
_vm._s(
_vm.hasColor(color.hex)
? "Remove Color"
: "Select Color"
) +
"\n "
)
]
)
])
: _vm._e()
]
}
],
null,
true
)
}
])
})
],
1