瀏覽代碼

feat: 移除VUE_APP_LOG_URL相关内容

cuiyalong 3 年之前
父節點
當前提交
fe5b39a3aa

+ 0 - 1
jydocs-mobile/.env.development

@@ -3,4 +3,3 @@ VUE_APP_MOCK=false
 VUE_APP_BASE_API = '/jydocs'
 BASE_URL = '/dev/docs/'
 VUE_APP_BASE_URL = '/dev/docs/'
-VUE_APP_LOG_URL='https://web2-jytest.jydev.jianyu360.com/jyLogs/actionInfo?logAction='

+ 0 - 1
jydocs-mobile/.env.production

@@ -2,4 +2,3 @@ NODE_ENV=production
 VUE_APP_BASE_API='/jydocs'
 BASE_URL = '/page_docs_mobile/'
 VUE_APP_BASE_URL = '/page_docs_mobile/'
-VUE_APP_LOG_URL='https://www.jianyu360.com/jyLogs/actionInfo?logAction='

+ 0 - 5
jydocs-mobile/.env.test

@@ -1,5 +0,0 @@
-NODE_ENV=production
-VUE_APP_BASE_API='/jydocs/'
-BASE_URL = '/page_docs_mobile/'
-VUE_APP_BASE_URL = '/page_docs_mobile/'
-VUE_APP_LOG_URL='https://web2-jytest.jydev.jianyu360.com/jyLogs/actionInfo?logAction='

+ 0 - 5
jydocs-mobile/src/main.ts

@@ -6,7 +6,6 @@ import '@/utils/'
 import { Component } from 'vue-property-decorator'
 import { Toast, Lazyload } from 'vant'
 import VueBus from './vue_bus'
-import axios from 'axios'
 
 Component.registerHooks(['beforeRouteEnter', 'beforeRouteLeave', 'beforeRouteUpdate'])
 Toast.setDefaultOptions({ getContainer: '#app' })
@@ -14,10 +13,6 @@ Toast.setDefaultOptions({ getContainer: '#app' })
 Vue.config.productionTip = false
 Vue.use(Toast).use(Lazyload).use(VueBus)
 
-router.afterEach((to) => {
-  axios.get(process.env.VUE_APP_LOG_URL + process.env.VUE_APP_BASE_URL + to.fullPath)
-})
-
 new Vue({
   router,
   store,

+ 0 - 1
jydocs-pc/.env.development

@@ -3,4 +3,3 @@ VUE_APP_BASE_API='/jydocs/'
 VUE_APP_BASE_URL='/swordfish/frontPage/docs/free/index/'
 VUE_APP_MOCK=false
 VUE_APP_BASE_PUBLIC='http://localhost:8080/'
-VUE_APP_LOG_URL='https://web2-jytest.jydev.jianyu360.com/jyLogs/actionInfo?logAction='

+ 0 - 1
jydocs-pc/.env.production

@@ -2,4 +2,3 @@ NODE_ENV=production
 VUE_APP_BASE_API='/jydocs/'
 VUE_APP_BASE_URL='/swordfish/docs'
 VUE_APP_BASE_PUBLIC='/page_docs_pc/'
-VUE_APP_LOG_URL='https://www.jianyu360.com/jyLogs/actionInfo?logAction='

+ 0 - 5
jydocs-pc/.env.test

@@ -1,5 +0,0 @@
-NODE_ENV=production
-VUE_APP_BASE_API='/jydocs/'
-VUE_APP_BASE_URL='/swordfish/docs'
-VUE_APP_BASE_PUBLIC='/page_docs_pc/'
-VUE_APP_LOG_URL='https://web2-jytest.jydev.jianyu360.com/jyLogs/actionInfo?logAction='

+ 0 - 5
jydocs-pc/src/main.js

@@ -4,7 +4,6 @@ import router from './router'
 import singleSpaVue from 'single-spa-vue'
 import { Loading } from 'element-ui'
 import '@/utils/'
-import axios from 'axios'
 
 Vue.use(Loading.directive)
 Vue.config.productionTip = false
@@ -19,10 +18,6 @@ if (process.env.NODE_ENV === 'production') {
   }
 }
 
-router.afterEach((to, from) => {
-  axios.get(process.env.VUE_APP_LOG_URL + process.env.VUE_APP_BASE_URL + to.fullPath)
-})
-
 const vueOptions = {
   el: '#single-spa-app',
   router,