You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
429 B
16 lines
429 B
1 year ago
|
import AppList from "../../components/list/index.js";
|
||
|
import html from "html";
|
||
|
import useConfig from "../../models/code-setting.js";
|
||
|
|
||
|
export default {
|
||
|
components: { AppList },
|
||
|
template: html`<app-list :config="config" @command="onCommand" />`,
|
||
|
setup() {
|
||
|
const config = useConfig();
|
||
|
const onCommand = async (item, rows) => {
|
||
|
console.log(item.path, item, rows);
|
||
|
};
|
||
|
return { config, onCommand };
|
||
|
},
|
||
|
};
|