Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
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
黄媛媛
ElectricitySheep
Commits
6cf0bd67
Commit
6cf0bd67
authored
Jan 15, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
34937b6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
index.js
src/plug/index.js
+3
-1
No files found.
src/plug/index.js
View file @
6cf0bd67
...
@@ -58,6 +58,7 @@ export default {
...
@@ -58,6 +58,7 @@ export default {
let
javaUrl
=
'http://192.168.2.65:8018'
;
let
javaUrl
=
'http://192.168.2.65:8018'
;
domainUrl
=
"http://192.168.1.27:8200"
;
domainUrl
=
"http://192.168.1.27:8200"
;
let
vtUploadUrl
=
"http://192.168.1.214:8120"
;
let
vtUploadUrl
=
"http://192.168.1.214:8120"
;
let
vtViewUrl
=
"http://192.168.1.214:8130"
;
let
vtViewUrl
=
"http://192.168.1.214:8130"
;
...
@@ -177,7 +178,8 @@ export default {
...
@@ -177,7 +178,8 @@ export default {
Vue
.
prototype
.
UploadFileToTencent
=
function
(
path
,
fileObj
,
callback
)
{
Vue
.
prototype
.
UploadFileToTencent
=
function
(
path
,
fileObj
,
callback
)
{
// debugger;
// debugger;
var
upInfo
=
JSON
.
parse
(
localStorage
.
uploadInfo
);
var
upInfo
=
JSON
.
parse
(
localStorage
.
uploadInfo
);
if
(
fileObj
.
type
==
"image/png"
||
fileObj
.
type
==
"image/jpeg"
)
{
let
maxSize
=
500
*
1024
if
((
fileObj
.
type
==
"image/png"
||
fileObj
.
type
==
"image/jpeg"
)
&&
fileObj
.
size
>
maxSize
)
{
let
that
=
this
let
that
=
this
lrz
(
fileObj
,
{
lrz
(
fileObj
,
{
width
:
750
,
width
:
750
,
...
...
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