diff --git a/src/manifest.json b/src/manifest.json index 309b9ec..013671f 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,6 +1,6 @@ { - "name" : "", - "appid" : "", + "name" : "退回接收", + "appid" : "__UNI__CAD0038", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", @@ -65,8 +65,13 @@ "mp-toutiao" : { "usingComponents" : true }, - "uniStatistics": { - "enable": false + "uniStatistics" : { + "enable" : false }, - "vueVersion" : "3" + "vueVersion" : "3", + "h5" : { + "router" : { + "mode" : "history" + } + } } diff --git a/src/pages.json b/src/pages.json index 4f7f3a1..c28b148 100644 --- a/src/pages.json +++ b/src/pages.json @@ -20,6 +20,7 @@ } } } + ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index a970b97..3370b0d 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -100,14 +100,16 @@ const { showMessage } = useToast(); onLoad((opts: any) => { console.log(opts); - getBackartList(); + if (opts.approvalID) { + getBackartList(opts.approvalID); + } }); const returnArtworkInfo = ref({}); const returnStatus = ref(0); const exhibitionUid = ref(""); const applyId = ref(0); -const getBackartList = async (id = 3390) => { - const res = await backartList({ id }); +const getBackartList = async (id: string) => { + const res = await backartList({ id: +id }); if (res.status === 0) { console.log(res); returnArtworkInfo.value = res.data.ReturnArtworkInfo.ReturnInfos[0] ?? {}; diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index 3977f67..0d9d42d 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -67,17 +67,24 @@