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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-ui2",
3
- "version": "0.1.1-beta04",
3
+ "version": "0.1.1-beta06",
4
4
  "private": false,
5
5
  "description": "湖南优创UI组件库",
6
6
  "main": "dist/yc-ui2.umd.min.js",
package/src/App.vue CHANGED
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div id="app">
3
3
  <!-- <YcSlideVerify /> -->
4
- <!-- <YcCustomerService /> -->
5
- <!-- <router-view></router-view> -->
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
- // YcCustomerService: () => import("comp/YcCustomerService/index.vue"),
14
+ YcCustomerService: () => import("comp/YcCustomerService/index.vue"),
15
15
  },
16
16
  }
17
17
  </script>
@@ -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
  {