会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ฅ˙-˙ฅ
博客园
首页
管理
2018年11月9日
使用vue的mixins混入实现对正在编辑的页面离开时提示
摘要: mixins.ts 1 import { Vue, Component, Watch } from "vue-property-decorator" 2 Component.registerHooks([ 3 'beforeRouteLeave' 4 ]) 5 @Component 6 /* 此mi
阅读全文
posted @ 2018-11-09 15:43 ฅ˙-˙ฅ
阅读(323)
评论(0)
推荐(0)
编辑