Browse Source

fix:解决系统不支持url传参

pull/52/head
肖晋飞 2 weeks ago
parent
commit
9ddf6f65d0
  1. 1
      src/views/dashboard/demo/index.vue

1
src/views/dashboard/demo/index.vue

@ -21,6 +21,7 @@ setTimeout(() => {
}, 500)
const data = ref<any>(data1)
// idcommitbug
const id = route.path.split('/').pop() || ''
onBeforeMount(async () => {
console.log(route.path)

Loading…
Cancel
Save