feat:新增全局默认参数配置

This commit is contained in:
张益铭
2021-03-23 17:43:53 +08:00
parent 01c8619124
commit 0ee38c24c8
7 changed files with 68 additions and 12 deletions

View File

@@ -112,6 +112,7 @@ export default defineComponent({
onBeforeMount(() => {
vm = getCurrentInstance(); //获取组件实例
console.log('vm: ', vm.appContext.config.globalProperties.$config);
});
// 点击登录或注册