mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-23 17:40:31 +03:00
wip
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<vue-context ref="menu">
|
<vue-context ref="menu">
|
||||||
<template slot-scope="child" v-if="child && child.data">
|
<template v-slot="child" v-if="child.data">
|
||||||
<li>
|
<li>
|
||||||
<a @click.prevent="alertName(child.data.name)">
|
<a @click.prevent="alertName(child.data.name)">
|
||||||
Alert name
|
Alert name
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ sort: 2
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<vue-context ref="menu">
|
<vue-context ref="menu">
|
||||||
<template slot-scope="child" v-if="child.data">
|
<template v-slot="child" v-if="child.data">
|
||||||
<li>
|
<li>
|
||||||
<a @click.prevent="alertName(child.data.name)">
|
<a @click.prevent="alertName(child.data.name)">
|
||||||
Alert name
|
Alert name
|
||||||
|
|||||||
+2
-15928
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user