Commit 8e62475ce66ef68eca08ab630845dfa0b62bcaab

Authored by 郭伟龙
1 parent b9203dcc
Exists in charge

fix:小区添加类型,去除vconsole

main.js
... ... @@ -20,7 +20,7 @@ import {
20 20 dDingJudgeEnvPlatform
21 21 } from 'utils/isDing.js'
22 22  
23   -import VConsole from '@/utils/vconsole.js'
  23 +// import VConsole from '@/utils/vconsole.js'
24 24 import dayjs from '@/uni_modules/uview-ui/libs/util/dayjs.js';
25 25  
26 26 import {
... ... @@ -55,6 +55,14 @@ Vue.component('echarts', echarts)
55 55 Vue.component('Navbar', Navbar)
56 56 Vue.component('TabBar', TabBar)
57 57  
  58 +// 去除console.log打印
  59 +if (process.env.NODE_ENV !== 'production') {
  60 + // console.log = () => {} //开发环境去除看一下效果
  61 +}else{
  62 + //正式环境去除
  63 + console.log = () => {}
  64 +}
  65 +
58 66 App.mpType = 'app'
59 67  
60 68 Vue.use(G_show_modal)
... ...
pages/charge/visitsAndFees/createaVisit.vue
... ... @@ -986,7 +986,7 @@
986 986 }
987 987 let col = result.data.map(item => ({
988 988 value: item.vlgOrCmty,
989   - label: item.vlgOrCmty,
  989 + label: `${item.vlgOrCmty}(${item.urbRurCls})`,
990 990 urbRurCls: item.urbRurCls
991 991 }));
992 992 this.columns = [col];
... ...