EthnaYeh 7 vuotta sitten
vanhempi
commit
7501203ede

+ 1 - 0
src/views/gambleGameBucket/index.vue

117
     },
117
     },
118
     moment(time) {
118
     moment(time) {
119
       return moment(time).tz("Asia/Taipei").format('YYYY-MM-DD HH:mm:ss')
119
       return moment(time).tz("Asia/Taipei").format('YYYY-MM-DD HH:mm:ss')
120
+      // return time
120
     }
121
     }
121
   }
122
   }
122
 }
123
 }

+ 3 - 1
src/views/gambleMember/detail/index.vue

45
 import { mapActions } from 'vuex'
45
 import { mapActions } from 'vuex'
46
 import { fetchHistory } from '@/api/gambleMember'
46
 import { fetchHistory } from '@/api/gambleMember'
47
 import waves from '@/directive/waves' // 水波纹指令
47
 import waves from '@/directive/waves' // 水波纹指令
48
+import moment from 'moment-timezone'
48
 
49
 
49
 export default {
50
 export default {
50
   directives: {
51
   directives: {
100
       })
101
       })
101
     },
102
     },
102
     handleFilter() {
103
     handleFilter() {
103
-      console.log(this.date)
104
+      console.log(moment.utc(this.date[0]).format())
105
+      console.log(moment.utc(this.date[1]).format())      
104
     }
106
     }
105
   },
107
   },
106
   destroyed() {
108
   destroyed() {