Map Attributes: fix allMapData.js.

This commit is contained in:
chiayin
2023-10-31 16:37:25 +08:00
parent 19c536a4f2
commit 64fad0a8fe
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "frontend", "name": "frontend",
"version": "0.99.1.01", "version": "0.99.3",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@@ -67,8 +67,8 @@ export default{
computed: { computed: {
// user select time start and end // user select time start and end
timeFrameStartEnd: function() { timeFrameStartEnd: function() {
let start = getMoment(this.startTime).format('YYYY-MM-DDTHH:mm:ss'); let start = getMoment(this.startTime).format('YYYY-MM-DDTHH:mm:00');
let end = getMoment(this.endTime).format('YYYY-MM-DDTHH:mm:ss'); let end = getMoment(this.endTime).format('YYYY-MM-DDTHH:mm:00');
this.selectTimeFrame = [start, end]; // 傳給後端的資料 this.selectTimeFrame = [start, end]; // 傳給後端的資料
return [start, end]; return [start, end];