Commit afe71054 authored by 刘文虎's avatar 刘文虎

默认显示日期

parent ec1bcb2b
;(function() {
let NODE_ENV = 'test' // dev:开发环境 | test:测试环境 | prod:生产环境
let NODE_ENV = 'prod' // dev:开发环境 | test:测试环境 | prod:生产环境
let ENV_VAR = null
let VERSION = 'v1.0.6'
let VERSION = 'v1.0.11'
if (process.env.NODE_ENV === 'development') {
if (NODE_ENV === 'dev') {
ENV_VAR = require('./.env.dev.js')
......
......@@ -2,9 +2,9 @@
<view class="count">
<view class="count-title">
<text>账单日期:</text>
<view class="count-title-date">{{parseDate(start)}}</view>
<view class="count-title-date">{{parseDate(start)||""}}</view>
<text class="count-title-mid">至</text>
<view class="count-title-date">{{parseDate(end)}}</view>
<view class="count-title-date">{{parseDate(end)||""}}</view>
</view>
<view class="bill-count">
<view class="bill-count-item" v-for="(item, index) in list" :key="index">
......@@ -25,11 +25,11 @@ import { billCountOptions } from '@/utils/options/bill/bill-statistics.js';
export default {
props:{
start: {
type: String | null,
type: String,
default: ""
},
end: {
type: String | null,
type: String,
default: ""
},
detail:{
......@@ -37,7 +37,7 @@ export default {
default:()=>{}
},
bookRecordType: {
type: String | null,
type: String,
default: 'INCOME'
},
name:{
......
......@@ -15,10 +15,6 @@ export default {
type: Number,
default: 2
},
date: {
type: Array | null,
default: []
},
detail: {
type: Object,
default: () => {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment