2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-05-17 05:09:36 +03:00
This commit is contained in:
rawilk
2020-08-30 13:36:06 -05:00
parent 1fcf058dfc
commit a3eb1702c9
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
<template>
<div>
<div class="bg-white shadow overflow-hidden sm:rounded-md">
<ul>
<ul class="demo">
<li>
<a href="#"
class="block hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition duration-150 ease-in-out"
@@ -32,7 +32,7 @@
</div>
<vue-context ref="menu">
<template slot-scope="child" v-if="child.data">
<template slot-scope="child" v-if="child && child.data">
<li>
<a @click.prevent="alertName(child.data.name)">
Alert name
+1 -1
View File
@@ -17,7 +17,7 @@ sort: 2
<template>
<div>
<div class="bg-white shadow overflow-hidden sm:rounded-md">
<ul>
<ul class="demo">
<li>
<a href="#"
class="block hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition duration-150 ease-in-out"
File diff suppressed because one or more lines are too long