moment.js used in vue"s project. However, there is a time zone problem. The backend has dealt with the time and added another 8 hours when using moment. I would like to ask how to modify it. The following figure
this is the code for template
<el-table-column prop="type" label="" align="center">
<template slot-scope="scope">
<span>{{scope.row.EndDate | moment("YYYY-MM-DD")}}</span>
</template>
</el-table-column>
introduction in main.js
Vue.use(require("vue-moment"));
would like to ask how the boss needs to change. Thank you very much