Commit 15c26451 authored by dt-1640819025-xxmxd's avatar dt-1640819025-xxmxd

问题反馈时间戳转化

parent 5bd86904
......@@ -10,7 +10,8 @@
{{ item.status }}
</div>
<div class="div-time">
{{ item.createTime }}
{{ days(parseInt(item.createTime)).format("YYYY-MM-DD HH:mm") }}
<!-- {{ item.createTime }} -->
</div>
</div>
</template>
......@@ -25,11 +26,12 @@
import { getFeedbackList } from "@/api/common";
import { onReady } from "@dcloudio/uni-app";
import axios from "axios";
import { dayjs } from "dayjs";
import dayjs from "dayjs";
import { ref } from "vue";
const pageNo = ref("1"); //初始页码
const pageSize = ref("10"); //每页数量
const days = dayjs;
let feedbackListData = ref([]);
const postListData = () => {
......@@ -41,6 +43,7 @@ const postListData = () => {
})
.catch(res => {});
};
onReady(() => {
postListData();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment