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 +1 -1
- package/src/router/index.js +2 -2
package/package.json
CHANGED
package/src/router/index.js
CHANGED
@@ -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
|
{
|