cs

parent 9d6b85ee
...@@ -5,7 +5,7 @@ VITE_APP_ENV = 'development' ...@@ -5,7 +5,7 @@ VITE_APP_ENV = 'development'
VITE_APP_BASE_URL = '/practice-jiaxiu-mobile/' VITE_APP_BASE_URL = '/practice-jiaxiu-mobile/'
# API地址 # API地址
VITE_APP_BASE_API = '/dev-api' VITE_APP_BASE_API = 'https://info.gyntv.com.cn/back/ty-visit/ty-visit'
#组织标识 #组织标识
VITE_APP_VISITOR_CODE = 'practice-mediaCatalog' VITE_APP_VISITOR_CODE = 'practice-mediaCatalog'
......
...@@ -15,5 +15,13 @@ ...@@ -15,5 +15,13 @@
<script setup> <script setup>
import { ref } from 'vue' import { ref } from 'vue'
const active = ref('/home') const active = ref('/home')
// #ifdef H5
console.log('当前环境为H5') // 这里可以编写H5环境的代码逻辑
// #endif
// #ifdef APP
console.log('当前环境为APP') // 这里可以编写APP环境的代码逻辑
// #endif
</script> </script>
<style scoped></style> <style scoped></style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment