mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-10-24 20:45:06 +08:00
路由配置
This commit is contained in:
15
src/App.vue
15
src/App.vue
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user