数据存储结构调整

This commit is contained in:
fofolee
2022-04-09 01:21:39 +08:00
parent 431906a1bb
commit 1d63940749
5 changed files with 25 additions and 37 deletions

View File

@@ -191,17 +191,25 @@
</template>
<script>
import { defineAsyncComponent } from "vue";
import quickcommandParser from "../js/common/quickcommandParser.js";
import CommandCard from "components/CommandCard";
import CommandEditor from "components/CommandEditor.vue";
import ConfigurationMenu from "components/ConfigurationMenu.vue";
import importAll from "../js/common/importAll.js";
const CommandEditor = defineAsyncComponent(() =>
import("components/CommandEditor.vue")
);
// 默认命令
let defaultCommands = importAll(require.context("../json/", false, /\.json$/));
export default {
components: { CommandCard, CommandEditor, ConfigurationMenu },
components: {
CommandCard,
ConfigurationMenu,
CommandEditor,
},
data() {
return {
currentTag: "默认",