修复前端页面时间显示问题

dependabot/npm_and_yarn/fir_admin/async-2.6.4
nineven 3 years ago
parent 94bc5cc1db
commit 17ab6e6efd
  1. 3
      fir_client/src/components/user/FirUserDomain.vue
  2. 10
      fir_client/src/components/user/FirUserOrders.vue

@ -157,6 +157,7 @@
import {domaininfo} from "@/restful"; import {domaininfo} from "@/restful";
import BindDomain from "@/components/base/BindDomain"; import BindDomain from "@/components/base/BindDomain";
import {format_choices, getUserInfoFun} from '@/utils' import {format_choices, getUserInfoFun} from '@/utils'
import {format_time} from "@/utils/base/utils";
export default { export default {
name: "FirUserDomain", name: "FirUserDomain",
@ -245,7 +246,7 @@ export default {
}, },
format_create_time(row) { format_create_time(row) {
return this.format_time(row.created_time) return format_time(row.created_time)
}, },

@ -412,19 +412,15 @@ export default {
}, },
format_create_time(row) { format_create_time(row) {
return this.format_time(row.created_time) return format_time(row.created_time)
}, },
format_pay_time(row) { format_pay_time(row) {
return this.format_time(row.pay_time) return format_time(row.pay_time)
}, },
format_cancel_time(row) { format_cancel_time(row) {
return this.format_time(row.cancel_time) return format_time(row.cancel_time)
},
format_time(stime) {
return format_time(stime)
}, },
MyOrderFun(params) { MyOrderFun(params) {
this.loading = true; this.loading = true;

Loading…
Cancel
Save