Commit 5b49717c authored by 周远喜's avatar 周远喜

错误捕捉。

parent fb94170a
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<h2>admin,user{{this.$store.state.admin.user.counter}}</h2> <h2>admin,user{{this.$store.state.admin.user.counter}}</h2>
<Button @click="increment">+</Button> <Button @click="increment">+</Button>
<Button type="error" v-auth="['admin2']" @click="log">log</Button> <Button type="error" v-auth="['admin2']" @click="log">log</Button>
<Button type="error" @click="log">log</Button>
</div> </div>
</div> </div>
</div> </div>
...@@ -55,6 +56,7 @@ export default { ...@@ -55,6 +56,7 @@ export default {
if (process.env.NODE_ENV === 'development'){ if (process.env.NODE_ENV === 'development'){
alert(123) alert(123)
} }
alert(abc)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment