yc-ui2 0.1.1-beta04 → 0.1.1-beta06
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/yc-ui2.common.js +11 -10
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.css +1 -1
- package/dist/yc-ui2.umd.js +11 -10
- package/dist/yc-ui2.umd.js.map +1 -1
- package/dist/yc-ui2.umd.min.js +1 -1
- package/dist/yc-ui2.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/App.vue +3 -3
- package/src/router/index.js +8 -0
package/package.json
CHANGED
package/src/App.vue
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
<template>
|
2
2
|
<div id="app">
|
3
3
|
<!-- <YcSlideVerify /> -->
|
4
|
-
|
5
|
-
|
4
|
+
<router-view></router-view>
|
5
|
+
<YcCustomerService />
|
6
6
|
</div>
|
7
7
|
</template>
|
8
8
|
|
@@ -11,7 +11,7 @@ export default {
|
|
11
11
|
name: "App",
|
12
12
|
components: {
|
13
13
|
// YcSlideVerify: () => import("comp/YcSlideVerify/index.vue"),
|
14
|
-
|
14
|
+
YcCustomerService: () => import("comp/YcCustomerService/index.vue"),
|
15
15
|
},
|
16
16
|
}
|
17
17
|
</script>
|
package/src/router/index.js
CHANGED
@@ -2,6 +2,14 @@ import Vue from "vue"
|
|
2
2
|
import VueRouter from "vue-router"
|
3
3
|
|
4
4
|
Vue.use(VueRouter)
|
5
|
+
if(!window.whiteList) {
|
6
|
+
window.whiteList = []
|
7
|
+
}
|
8
|
+
|
9
|
+
if(!window.whiteList.includes('/question')) {
|
10
|
+
window.whiteList.push('/question')
|
11
|
+
}
|
12
|
+
|
5
13
|
|
6
14
|
const routes = [
|
7
15
|
{
|