feat: 添加mock,完成高德地图组件

This commit is contained in:
张益铭
2021-03-29 16:38:52 +08:00
parent 3c8e0c5277
commit 7545003e57
12 changed files with 668 additions and 57 deletions

View File

@@ -110,11 +110,6 @@ export default defineComponent({
],
});
onBeforeMount(() => {
vm = getCurrentInstance(); //获取组件实例
console.log('vm: ', vm.appContext.config.globalProperties.$config);
});
// 点击登录或注册
const onBehavior = (evt: Object): void => {
vm.refs.ruleForm.validate((valid: Boolean) => {