import AppList from "../components/list/index.js"; import html from "html"; import router from "../router/index.js"; export default { components: { AppList }, template: html` `, setup() { console.log(router.currentRoute.value.fullPath); const onCommand = (item, rows) => { console.log(item.path, item, rows); }; return { onCommand }; }, };