yc-ui2 0.1.1-beta06 → 0.1.1-beta07

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-ui2",
3
- "version": "0.1.1-beta06",
3
+ "version": "0.1.1-beta07",
4
4
  "private": false,
5
5
  "description": "湖南优创UI组件库",
6
6
  "main": "dist/yc-ui2.umd.min.js",
@@ -2,14 +2,14 @@ import Vue from "vue"
2
2
  import VueRouter from "vue-router"
3
3
 
4
4
  Vue.use(VueRouter)
5
+
5
6
  if(!window.whiteList) {
6
7
  window.whiteList = []
7
8
  }
8
-
9
9
  if(!window.whiteList.includes('/question')) {
10
10
  window.whiteList.push('/question')
11
11
  }
12
-
12
+ console.log(window.whiteList)
13
13
 
14
14
  const routes = [
15
15
  {