Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
351da8b4
Commit
351da8b4
authored
Jun 20, 2025
by
张九刚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 更新请求地址配置,切换至生产环境并移除无用的 mock 数据导入
parent
47a88775
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
request.js
api/request.js
+2
-2
Brand.vue
views/Brand.vue
+0
-1
Home.vue
views/Home.vue
+0
-1
No files found.
api/request.js
View file @
351da8b4
...
...
@@ -16,8 +16,8 @@ const {
// request.js
// 通常可以吧 baseUrl 单独放在一个 js 文件了
// const baseUrl = "http://172.16.224.178:7777/pmall";
const
baseUrl
=
"https://momclub-uat.feihe.com/pmall"
;
//测试环境
//
const baseUrl = "https://momclub.feihe.com/pmall";//生产环境
//
const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境
const
baseUrl
=
"https://momclub.feihe.com/pmall"
;
//生产环境
const
request
=
(
options
=
{})
=>
{
// 在这里可以对请求头进行一些设置
...
...
views/Brand.vue
View file @
351da8b4
...
...
@@ -136,7 +136,6 @@
<
script
>
import
{
brandObj
}
from
'../mock/brand'
;
import
{
fetchBrandJSON
}
from
'../api/brand'
;
import
{
jump
,
JumpType
}
from
'../utils'
;
export
default
{
...
...
views/Home.vue
View file @
351da8b4
...
...
@@ -146,7 +146,6 @@
<
script
>
import
{
jump
,
JumpType
}
from
'../utils'
;
import
{
homeObj
}
from
'../mock/home'
;
import
{
useHomeStore
}
from
'../stores/home'
;
import
{
fetchHomeJSON
}
from
'../api/home'
;
import
{
useUserStore
}
from
'../stores/user'
;
...
...
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