优化代码

This commit is contained in:
wuxw 2022-11-01 15:44:42 +08:00
parent 5b350bc97d
commit 093dc19242

View File

@ -14,7 +14,7 @@
<script> <script>
import url from '../../constant/url.js' import url from '../../constant/url.js'
import {formatDate,addDay} from '../../lib/java110/utils/DateUtil.js' import {formatDate,formatTime,addDay} from '../../lib/java110/utils/DateUtil.js'
import { import {
getCurrentCommunity getCurrentCommunity
} from '../../api/community/community.js' } from '../../api/community/community.js'
@ -57,7 +57,7 @@
planUserId: this.userId, planUserId: this.userId,
inspectionId: this.inspectionId, inspectionId: this.inspectionId,
state: '20200405', state: '20200405',
qrCodeTime:formatDate(new Date()), qrCodeTime:formatTime(new Date()),
}, },
success: function(res) { success: function(res) {
// TODO // TODO