Commit 8e62475ce66ef68eca08ab630845dfa0b62bcaab
1 parent
b9203dcc
Exists in
charge
fix:小区添加类型,去除vconsole
Showing
2 changed files
with
10 additions
and
2 deletions
Show diff stats
main.js
@@ -20,7 +20,7 @@ import { | @@ -20,7 +20,7 @@ import { | ||
20 | dDingJudgeEnvPlatform | 20 | dDingJudgeEnvPlatform |
21 | } from 'utils/isDing.js' | 21 | } from 'utils/isDing.js' |
22 | 22 | ||
23 | -import VConsole from '@/utils/vconsole.js' | 23 | +// import VConsole from '@/utils/vconsole.js' |
24 | import dayjs from '@/uni_modules/uview-ui/libs/util/dayjs.js'; | 24 | import dayjs from '@/uni_modules/uview-ui/libs/util/dayjs.js'; |
25 | 25 | ||
26 | import { | 26 | import { |
@@ -55,6 +55,14 @@ Vue.component('echarts', echarts) | @@ -55,6 +55,14 @@ Vue.component('echarts', echarts) | ||
55 | Vue.component('Navbar', Navbar) | 55 | Vue.component('Navbar', Navbar) |
56 | Vue.component('TabBar', TabBar) | 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 | App.mpType = 'app' | 66 | App.mpType = 'app' |
59 | 67 | ||
60 | Vue.use(G_show_modal) | 68 | Vue.use(G_show_modal) |
pages/charge/visitsAndFees/createaVisit.vue
@@ -986,7 +986,7 @@ | @@ -986,7 +986,7 @@ | ||
986 | } | 986 | } |
987 | let col = result.data.map(item => ({ | 987 | let col = result.data.map(item => ({ |
988 | value: item.vlgOrCmty, | 988 | value: item.vlgOrCmty, |
989 | - label: item.vlgOrCmty, | 989 | + label: `${item.vlgOrCmty}(${item.urbRurCls})`, |
990 | urbRurCls: item.urbRurCls | 990 | urbRurCls: item.urbRurCls |
991 | })); | 991 | })); |
992 | this.columns = [col]; | 992 | this.columns = [col]; |