wanggang
1 year ago
7 changed files with 49 additions and 8 deletions
@ -0,0 +1,16 @@ |
|||
*.bak |
|||
|
|||
#fe |
|||
node_modules/ |
|||
dist/ |
|||
|
|||
#be |
|||
.vs/ |
|||
bin/ |
|||
obj/ |
|||
*.suo |
|||
*.user |
|||
*.db |
|||
*.db-shm |
|||
*.db-wal |
|||
|
Binary file not shown.
@ -0,0 +1,15 @@ |
|||
import AppList from "../components/list/index.js"; |
|||
import html from "html"; |
|||
import router from "../router/index.js"; |
|||
|
|||
export default { |
|||
components: { AppList }, |
|||
template: html`<app-list @command="onCommand"> </app-list>`, |
|||
setup() { |
|||
console.log(router.currentRoute.value.fullPath); |
|||
const onCommand = (item, rows) => { |
|||
console.log(item.path, item, rows); |
|||
}; |
|||
return { onCommand }; |
|||
}, |
|||
}; |
Loading…
Reference in new issue