Commit 08d580b7 by cocomilk2012

Merge branch 'dev'

parents 5a93ad5a db67cb52
......@@ -172,7 +172,7 @@ export default class FlexEmployee extends Vue {
this.taskRecordList.length > 0 ? (this.showList = 1) : (this.showList = 0);
this.taskRecordList.length >= 3?this.expand = false:this.expand = true;
localStorage.setItem("taskList", JSON.stringify(this.taskRecordList));
});
}
}
......
......@@ -79,9 +79,9 @@ export default class FlexEmployee extends Vue {
created() {
let id = this.$route.query.id;
let task_info = localStorage.getItem("taskList");
if (task_info != null) {
let tasks = JSON.parse(task_info);
this.item = tasks.find((x: any) => x.id == id);
}
}
......
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 sign in to comment