接口对接修改

This commit is contained in:
仲么了
2023-07-24 08:47:20 +08:00
parent 2104bc0c4c
commit 689436759f
31 changed files with 1070 additions and 448 deletions

View File

@@ -52,6 +52,12 @@ export default {
uni.navigateBack()
},
add() {
if (!uni.getStorageSync('engineering')) {
return uni.showToast({
title: '请先创建一个工程',
icon: 'none',
})
}
uni.navigateTo({
url: `/pages/project/new`,
})
@@ -64,8 +70,9 @@ export default {
})
},
jump(project) {
console.log(project);
uni.navigateTo({
url: `/pages/project/detail?project=${JSON.stringify(project)}`,
url: `/pages/project/detail?project=${encodeURIComponent(JSON.stringify(project))}`,
})
},
},