Browse Source

重复tabs公共方法

Qukatie 4 days ago
parent
commit
907e951f0f
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/main.js

+ 4 - 1
src/main.js

@@ -8,7 +8,8 @@ import './error'; // 日志
 import './cache'; //页面缓存
 import store from './store';
 import {
-  loadStyle
+  loadStyle,
+  verifyTags
 } from './util/util'
 import * as urls from '@/config/env';
 import Element from 'element-ui';
@@ -204,6 +205,8 @@ Vue.prototype.onLock = onLock;
 Vue.prototype.unLock = unLock;
 Vue.prototype.checkLocks = checkLocks;
 Vue.prototype.inLocks =inLocks
+//检验标签是否重复
+Vue.prototype.verifyTags=verifyTags
 new Vue({
   router,
   store,