mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 21:06:44 +08:00
fix:学习路径图概览/详情时间显示错误问题
This commit is contained in:
@@ -1259,7 +1259,6 @@ import { getRouterOverview } from "@/api/indexLearningPath";
|
||||
import { handleLearnPath } from "../../api/index1";
|
||||
import { GetRouterDetail } from "@/api/indexTask";
|
||||
import * as api from "../../api/index1";
|
||||
import { toDate } from "../../api/method";
|
||||
import { editRoutered } from "../../api/indexLearningPath";
|
||||
import TwoDimensionalCode from "../../components/TwoDimensionalCode.vue";
|
||||
export default {
|
||||
@@ -1893,10 +1892,7 @@ export default {
|
||||
GetRouterDetail(state.routerId).then((res) => {
|
||||
// console.log("获取路径图详情", res);
|
||||
state.styTitle = res.data.data.routerInfo.name;
|
||||
state.cretime = toDate(
|
||||
res.data.data.routerInfo.createTime / 1000,
|
||||
"Y-M-D h:m"
|
||||
);
|
||||
state.cretime = res.data.data.routerInfo.createTime;
|
||||
state.picUrl = res.data.data.routerInfo.picUrl;
|
||||
state.action = res.data.data.routerInfo.status;
|
||||
state.remark = res.data.data.routerInfo.remark;
|
||||
|
||||
Reference in New Issue
Block a user