2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-23 03:30:32 +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> <template>
<div> <div>
<div class="bg-white shadow overflow-hidden sm:rounded-md"> <div class="bg-white shadow overflow-hidden sm:rounded-md">
<ul> <ul class="demo">
<li> <li>
<a href="#" <a href="#"
class="block hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition duration-150 ease-in-out" class="block hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition duration-150 ease-in-out"
@@ -32,7 +32,7 @@
</div> </div>
<vue-context ref="menu"> <vue-context ref="menu">
<template slot-scope="child" v-if="child.data"> <template slot-scope="child" v-if="child && child.data">
<li> <li>
<a @click.prevent="alertName(child.data.name)"> <a @click.prevent="alertName(child.data.name)">
Alert name Alert name
+1 -1
View File
@@ -17,7 +17,7 @@ sort: 2
<template> <template>
<div> <div>
<div class="bg-white shadow overflow-hidden sm:rounded-md"> <div class="bg-white shadow overflow-hidden sm:rounded-md">
<ul> <ul class="demo">
<li> <li>
<a href="#" <a href="#"
class="block hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition duration-150 ease-in-out" 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