From 44b511af39fb5ab7c55f7efc36f3d15b711f42d9 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期六, 25 一月 2020 13:17:35 +0800
Subject: [PATCH] 优化停车场
---
WebService/src/main/resources/components/applicationKeyPackage/add-applicationKeyView/addApplicationKey.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/WebService/src/main/resources/components/applicationKeyPackage/add-applicationKeyView/addApplicationKey.js b/WebService/src/main/resources/components/applicationKeyPackage/add-applicationKeyView/addApplicationKey.js
index 9120cff..0ff9533 100644
--- a/WebService/src/main/resources/components/applicationKeyPackage/add-applicationKeyView/addApplicationKey.js
+++ b/WebService/src/main/resources/components/applicationKeyPackage/add-applicationKeyView/addApplicationKey.js
@@ -60,7 +60,7 @@
vc.component.addApplicationKeyInfo.startTime = vc.dateFormat(new Date().getTime());
$('.addApplicationStartTime').datetimepicker({
language: 'zh-CN',
- format: 'yyyy-mm-dd HH:ii:ss',
+ format: 'yyyy-mm-dd hh:ii:ss',
initTime: true,
initialDate: new Date(),
autoClose: 1,
@@ -74,7 +74,7 @@
});
$('.addApplicationEndTime').datetimepicker({
language: 'zh-CN',
- format: 'yyyy-mm-dd HH:ii:ss',
+ format: 'yyyy-mm-dd hh:ii:ss',
initTime: true,
initialDate: new Date(),
autoClose: 1,
@@ -214,7 +214,7 @@
return;
}
if (!vc.component.addApplicationKeyValidate()) {
- vc.message(vc.validate.errInfo);
+ vc.toast(vc.validate.errInfo);
return;
}
@@ -298,11 +298,11 @@
video: true,
audio: false
};
- var video = document.getElementById('AddApplicationKeyPhoto');
- var media = navigator.getUserMedia(constraints, function (stream) {
+ var video = document.getElementById('AddApplicationKeyPhoto');
+ var media = navigator.getUserMedia(constraints, function (stream) {
var url = window.URL || window.webkitURL;
//video.src = url ? url.createObjectURL(stream) : stream;
- vc.component.addApplicationKeyInfo.mediaStreamTrack = typeof stream.stop === 'function' ? stream : stream.getTracks()[0];
+ vc.component.addApplicationKeyInfo.mediaStreamTrack = typeof stream.stop === 'function' ? stream : stream.getTracks()[0];
try {
video.src = url ? url.createObjectURL(stream) : stream;
} catch (error) {
--
Gitblit v1.8.0