Add flow from project list to view

This commit is contained in:
Matthew Aaron Raymer
2023-01-17 16:13:58 +08:00
parent cc57d59717
commit 997093c695
2 changed files with 22 additions and 9 deletions

View File

@@ -116,9 +116,7 @@ export default class NewEditProjectView extends Vue {
try {
const resp = await this.axios.post(url, payload, { headers });
console.log(resp.status, resp.data);
useAppStore().setProjectId(resp.data);
console.log("TEST", useAppStore().projectId);
setTimeout(
function (that: Vue) {
console.log("THAT:", localStorage.getItem("projectId"));