@@ -114,8 +114,8 @@ export default {
};
},
mounted() {
- let row = this.$route.query.row;
- if (row.id) {
+ let row = JSON.parse(this.$route.query.row)
+ if (row) {
this.projectForm = row;
this.addForm.projectId = this.versionForm.projectId = row.id;
this.getList();
@@ -107,7 +107,7 @@ export default {
this.$router.push({
path: `/project/list/detail`,
query: {
- row: row,
+ row: JSON.stringify(row),
key: key,
});