Commit 94a9e5cf authored by 吴冠's avatar 吴冠

调试

parent 3d6767ac
...@@ -173,7 +173,7 @@ export default { ...@@ -173,7 +173,7 @@ export default {
dataTable, dataTable,
breadCrumb, breadCrumb,
}, },
/* mounted() { mounted() {
let id = this.$route.query.id; let id = this.$route.query.id;
let message = {} let message = {}
message.currentPage = 1 message.currentPage = 1
...@@ -186,15 +186,15 @@ export default { ...@@ -186,15 +186,15 @@ export default {
} }
let enquiryId = window.location.href.split("?id=")[1] let enquiryId = window.location.href.split("?id=")[1]
sessionStorage.setItem("Id",enquiryId) sessionStorage.setItem("Id",enquiryId)
}, */ },
async asyncData({route}){ /* async asyncData({route}){
let id = window.location.href.split("?id=")[1] let id = $route.query.id
const {data} = await getenquirydetails(id) const {data} = await getenquirydetails(id)
console.log(data+'------------') console.log(data+'------------')
return { return {
formdata : data, formdata : data,
} }
}, }, */
data() { data() {
return { return {
fileList:[], fileList:[],
......
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