mirror of
https://github.com/beekeeper-studio/beekeeper-studio.git
synced 2026-03-13 10:12:54 +08:00
Merge pull request #2915 from beekeeper-studio/fix/config-plugin
fix config plugin to actually provide platformInfo
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import config from "@/config";
|
||||
import { buildConfig } from "@/config";
|
||||
import _ from "lodash";
|
||||
import { BksConfigProvider, KeybindingPath } from "@/common/bksConfig/BksConfigProvider";
|
||||
import type { VueConstructor } from "vue/types/umd";
|
||||
@@ -28,7 +28,7 @@ export default {
|
||||
const BksConfig = BksConfigProvider.create(window.bksConfigSource, window.platformInfo);
|
||||
window.bksConfig = BksConfig;
|
||||
Vue.prototype.$bksConfig = BksConfig;
|
||||
Vue.prototype.$config = config;
|
||||
Vue.prototype.$config = buildConfig(window.platformInfo);
|
||||
Vue.prototype.$vHotkeyKeymap = createVHotkeyKeymap;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user