Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
N
newLive
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
孟庆瑞
newLive
Commits
c6bbb743
Commit
c6bbb743
authored
Dec 20, 2022
by
jiaoyahui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改文件打包问题
parent
3e0d4cfe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
index.html
public/index.html
+1
-1
request.js
src/axios/request.js
+2
-2
main.js
src/main.js
+1
-4
No files found.
public/index.html
View file @
c6bbb743
...
...
@@ -4,7 +4,7 @@
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
name=
”viewport”
content=
”width=device-width,
initial-scale=
1,
maximum-scale=
1″
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<script
src=
"./static/js/mqttws31.js"
type=
"text/javascript"
></script>
<title>
斗牛财经
</title>
...
...
src/axios/request.js
View file @
c6bbb743
...
...
@@ -9,9 +9,9 @@ const appName = "test5"
const
IS_PROD
=
[
"production"
,
"prod"
].
includes
(
process
.
env
.
NODE_ENV
);
// 接口路径
const
BASEURL_TEST
=
'https://
test6
.douniu8.com'
const
BASEURL_TEST
=
'https://
api
.douniu8.com'
// const BASEURL_TEST = 'http://39.105.193.58:8081'
const
BASEURL_PROD
=
'https://
test6
.douniu8.com'
const
BASEURL_PROD
=
'https://
api
.douniu8.com'
const
CONTRACT_TEST
=
'http://47.95.140.89:9090'
const
CONTRACT_PROD
=
'http://ht.douniu8.com:9090'
const
baseURL
=
IS_PROD
?
BASEURL_PROD
:
BASEURL_TEST
;
...
...
src/main.js
View file @
c6bbb743
...
...
@@ -11,8 +11,7 @@ import VideoPlayer from 'vue-video-player'
import
'vue-video-player/src/custom-theme.css'
import
common
from
'../static/js/common.js'
//公共方法
import
'video.js/dist/video-js.css'
import
ElementUI
from
'element-ui'
;
import
'element-ui/lib/theme-chalk/index.css'
;
...
...
@@ -34,8 +33,6 @@ Vue.prototype.axios = axios;
Vue
.
prototype
.
router
=
router
;
Vue
.
prototype
.
$md5
=
md5
;
Vue
.
prototype
.
common
=
common
;
//引入公共方法
Vue
.
use
(
ElementUI
);
new
Vue
({
render
:
h
=>
h
(
App
),
router
,
...
...
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