yc-ui2 0.1.1-beta05 → 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-beta05",
3
+ "version": "0.1.1-beta07",
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>
@@ -3,6 +3,14 @@ import VueRouter from "vue-router"
3
3
 
4
4
  Vue.use(VueRouter)
5
5
 
6
+ if(!window.whiteList) {
7
+ window.whiteList = []
8
+ }
9
+ if(!window.whiteList.includes('/question')) {
10
+ window.whiteList.push('/question')
11
+ }
12
+ console.log(window.whiteList)
13
+
6
14
  const routes = [
7
15
  {
8
16
  path: "/question",