Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaxiu-miniapp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蔡亮华(贵阳日报)
jiaxiu-miniapp
Commits
8c0cf65f
Commit
8c0cf65f
authored
Jul 03, 2024
by
蔡亮华(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cs
parent
9d6b85ee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
.env.development
.env.development
+1
-1
index.vue
src/pages/index.vue
+9
-0
No files found.
.env.development
View file @
8c0cf65f
...
@@ -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'
...
...
src/pages/index.vue
View file @
8c0cf65f
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment