Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zj-manage
Overview
Overview
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
new-zhengjiang
zj-manage
Commits
6d548d6d
Commit
6d548d6d
authored
Mar 22, 2024
by
swl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gx
parent
5fed15ad
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
.DS_Store
.DS_Store
+0
-0
.DS_Store
public/.DS_Store
+0
-0
index.js
src/config/index.js
+2
-2
request.js
src/utils/request.js
+2
-2
vue.config.js
vue.config.js
+2
-2
No files found.
.DS_Store
View file @
6d548d6d
No preview for this file type
public/.DS_Store
View file @
6d548d6d
No preview for this file type
src/config/index.js
View file @
6d548d6d
const
domain
=
{
const
domain
=
{
// dev: "http://192.168.3.87:8881", // 姚镇接口
// dev: "http://192.168.3.87:8881", // 姚镇接口
dev
:
"http://81.69.231.72:8881"
,
// 姚镇接口
//
dev: "http://81.69.231.72:8881", // 姚镇接口
// dev: "http://81.69.231.72:8881", // 测试接口
// dev: "http://81.69.231.72:8881", // 测试接口
//
dev: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
dev
:
"https://exam.smart-zj.cn:9100/smartExam/"
,
// 新正式接口
};
};
// 腾讯地图 key
// 腾讯地图 key
const
map
=
{
const
map
=
{
...
...
src/utils/request.js
View file @
6d548d6d
...
@@ -5,9 +5,9 @@ import { TokenKey } from "@/utils/auth";
...
@@ -5,9 +5,9 @@ import { TokenKey } from "@/utils/auth";
const
config
=
{
const
config
=
{
// proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址
// proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址
proxy
:
"http://81.69.231.72:8881"
,
// 测试地址
//
proxy: "http://81.69.231.72:8881", // 测试地址
// proxy: "http://192.168.3.87:8881", //本地
// proxy: "http://192.168.3.87:8881", //本地
//
proxy: "https://exam.smart-zj.cn:9100/smartExam", // 新正式接口zs
proxy
:
"https://exam.smart-zj.cn:9100/smartExam"
,
// 新正式接口zs
// proxy: "http://81.69.231.72:9089/", // 测试地址
// proxy: "http://81.69.231.72:9089/", // 测试地址
// proxy1: "http://81.69.231.72:8881/admin-api", // 测试地址
// proxy1: "http://81.69.231.72:8881/admin-api", // 测试地址
// proxy1: "https://exam.smart-zj.cn:9100/smartExam/admin-api", // 新正式接口
// proxy1: "https://exam.smart-zj.cn:9100/smartExam/admin-api", // 新正式接口
...
...
vue.config.js
View file @
6d548d6d
const
env
=
process
.
env
.
NODE_ENV
===
"production"
;
const
env
=
process
.
env
.
NODE_ENV
===
"production"
;
//
const publicPath = env ? "/manage-h5/" : "/"; //正式
const
publicPath
=
env
?
"/manage-h5/"
:
"/"
;
//正式
const
publicPath
=
env
?
"/smartExam-h5/"
:
"/"
;
//测试
//
const publicPath = env ? "/smartExam-h5/" : "/"; //测试
module
.
exports
=
{
module
.
exports
=
{
publicPath
,
publicPath
,
...
...
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