Commit 77db6411 authored by 刘殿昕's avatar 刘殿昕

app_id用query传,params会造成其他问题

parent 661ba884
...@@ -646,7 +646,7 @@ export default { ...@@ -646,7 +646,7 @@ export default {
this.$api.workbench this.$api.workbench
.getAppIntroduction({ .getAppIntroduction({
deploy_id: this.$route.params.deploy_id, deploy_id: this.$route.params.deploy_id,
app_id: this.$route.params.app_id app_id: this.$route.query.app_id
}) })
.then(response => { .then(response => {
let data = response.data.data; let data = response.data.data;
...@@ -656,7 +656,7 @@ export default { ...@@ -656,7 +656,7 @@ export default {
}); });
this.$api.workbench this.$api.workbench
.getAppParams({ .getAppParams({
app_id: this.$route.params.app_id app_id: this.$route.query.app_id
}) })
.then(response => { .then(response => {
let data = response.data.data; let data = response.data.data;
......
...@@ -1169,7 +1169,7 @@ export default { ...@@ -1169,7 +1169,7 @@ export default {
); );
}, },
detailItemDeploy(item) { detailItemDeploy(item) {
this.$router.push(`${this.detailsUrl}${item.app_id}/${item.deploy_id}`); this.$router.push(`${this.detailsUrl}${item.deploy_id}?app_id=${item.app_id}`);
}, },
soldUpItem(item) { soldUpItem(item) {
this.dialogInfo.title = "提示"; this.dialogInfo.title = "提示";
......
...@@ -92,7 +92,7 @@ export default new Router({ ...@@ -92,7 +92,7 @@ export default new Router({
component: () => import("@/pages/workbench/yygl/app_edit"), component: () => import("@/pages/workbench/yygl/app_edit"),
}, },
{ {
path: "/yygl/:level/:type/deploydetail/:app_id/:deploy_id", // 我部署的应用详情 path: "/yygl/:level/:type/deploydetail/:deploy_id", // 我部署的应用详情
name: "deploy_app_detail", name: "deploy_app_detail",
component: () => component: () =>
import("@/pages/workbench/yygl/deploy_app_detail"), import("@/pages/workbench/yygl/deploy_app_detail"),
......
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 to comment