路由配置

This commit is contained in:
fofolee
2022-03-30 20:59:52 +08:00
parent 1c7c3c95b8
commit c631130edd
9 changed files with 46 additions and 225 deletions

View File

@@ -8,14 +8,19 @@ import { defineComponent } from "vue";
export default defineComponent({
name: "App",
data() {
return {
};
return {};
},
computed: {},
created: function () {
// this.$router.push("/configuration");
this.$router.push("/code");
this.pluginEnterEvent();
},
methods: {
pluginEnterEvent() {
utools.onPluginEnter((enter) => {
localStorage["enterData"] = JSON.stringify(enter);
this.$router.push(enter.code);
});
},
},
methods: {},
});
</script>