Browse Source

关闭线上调试

dongming-master
mk 9 months ago
parent
commit
56e1f751a0
  1. 2
      src/main.js
  2. 1
      src/router/index.js
  3. 2
      src/views/communityPublicity/index.vue

2
src/main.js

@ -36,7 +36,7 @@ import axios from 'axios'
axios.defaults.baseURL = '/geocode' axios.defaults.baseURL = '/geocode'
Vue.config.ignoredElements = ["wx-open-launch-weapp"]; Vue.config.ignoredElements = ["wx-open-launch-weapp"];
Vue.component('Perfect', Perfect) Vue.component('Perfect', Perfect)
if (process.env.NODE_ENV !== 'production') { if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'dongming') {
new Vconsole() new Vconsole()
} }
new Vue({ new Vue({

1
src/router/index.js

@ -132,7 +132,6 @@ router.beforeEach((to, from, next) => {
} }
let path = `${location.origin}${location.pathname === '/' ? '' : location.pathname}`; let path = `${location.origin}${location.pathname === '/' ? '' : location.pathname}`;
debugger
if (state && state.path) { if (state && state.path) {
let finalUrl = `${path}#${state.path}?${paramsFormat(state.query)}`; let finalUrl = `${path}#${state.path}?${paramsFormat(state.query)}`;
console.log(finalUrl, 'Final URL'); console.log(finalUrl, 'Final URL');

2
src/views/communityPublicity/index.vue

@ -28,7 +28,7 @@
<span class="van-multi-ellipsis--l2 text1" style="line-height: 28px;"> <span class="van-multi-ellipsis--l2 text1" style="line-height: 28px;">
{{ item.title }} {{ item.title }}
</span> </span>
<div class="flex flex-end text2"> <div class="flex flex-y flex-end text2">
<span class="van-ellipsis y66666 font-size15"> <span class="van-ellipsis y66666 font-size15">
{{ item.newContent }} </span> {{ item.newContent }} </span>

Loading…
Cancel
Save