|
@ -21,6 +21,7 @@ setTimeout(() => { |
|
|
}, 500) |
|
|
}, 500) |
|
|
|
|
|
|
|
|
const data = ref<any>(data1) |
|
|
const data = ref<any>(data1) |
|
|
|
|
|
// 为了解决系统不支持传参的问题,改为从路由参数中获取id,不是最终解决办法,带系统commitbug |
|
|
const id = route.path.split('/').pop() || '' |
|
|
const id = route.path.split('/').pop() || '' |
|
|
onBeforeMount(async () => { |
|
|
onBeforeMount(async () => { |
|
|
console.log(route.path) |
|
|
console.log(route.path) |
|
|