测试部署

This commit is contained in:
hongchao 2025-04-27 10:13:18 +08:00
parent 89abc2768a
commit 018978b954
1 changed files with 13 additions and 13 deletions

View File

@ -12,6 +12,10 @@ import { getConfigApi } from '@/utils/config'
export default {
name: 'App',
components: { ThemePicker },
created() {
//
getConfigApi()
},
metaInfo() {
return {
title:
@ -24,19 +28,15 @@ export default {
},
}
},
created() {
//
getConfigApi()
},
mounted() {
// const script_1 = document.createElement('script')
// const script_2 = document.createElement('script')
// script_1.src = `https://api.map.baidu.com/api?v=2.0&ak=${process.env.VUE_APP_BAIDU_MAP_AK}`
// script_2.src = `https://api.map.baidu.com/api?type=webgl&v=2.0&ak=${process.env.VUE_APP_BAIDU_MAP_AK}`
// script_1.async = true
// document.body.appendChild(script_1)
// document.body.appendChild(script_2)
},
// mounted() {
// // const script_1 = document.createElement('script')
// // const script_2 = document.createElement('script')
// // script_1.src = `https://api.map.baidu.com/api?v=2.0&ak=${process.env.VUE_APP_BAIDU_MAP_AK}`
// // script_2.src = `https://api.map.baidu.com/api?type=webgl&v=2.0&ak=${process.env.VUE_APP_BAIDU_MAP_AK}`
// // script_1.async = true
// // document.body.appendChild(script_1)
// // document.body.appendChild(script_2)
// },
}
</script>
<style scoped>