merge limo to daylight
This commit is contained in:
@@ -25,6 +25,17 @@ Vue.use(watermark, {
|
||||
|
||||
Vue.config.productionTip = false
|
||||
Vue.prototype.$store = store
|
||||
Vue.mixin({
|
||||
onShow() {
|
||||
uni.$emit('refreshNotificationCount');
|
||||
this.$nextTick(() => {
|
||||
const header = this.$refs && this.$refs.headerRef;
|
||||
if (header && typeof header.fetchNotificationCount === 'function') {
|
||||
header.fetchNotificationCount();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
// 注册全局方法
|
||||
Vue.prototype.isLogin = function(){
|
||||
getApp().isLogin();
|
||||
|
||||
Reference in New Issue
Block a user