Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
traceSourceMb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yanyanhong
traceSourceMb
Commits
32cd8d59
Commit
32cd8d59
authored
Jul 28, 2020
by
yyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后端服务地址修改
parent
e87ef81b
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
6 deletions
+12
-6
.env.development
.env.development
+2
-1
.env.production
.env.production
+2
-1
.env.test
.env.test
+2
-1
auth.ts
src/api/modules/auth.ts
+1
-0
TypeEight.vue
src/components/template/TypeEight.vue
+1
-2
Personal.vue
src/views/auth/Personal.vue
+1
-0
CodeInput.vue
src/views/userCenter/components/CodeInput.vue
+3
-1
No files found.
.env.development
View file @
32cd8d59
VUE_APP_SERVER=http://
172.16.101.87:46789
/api
VUE_APP_SERVER=http://
fd.33.cn:1294
/api
VUE_APP_BROWSER=http://47.114.159.142:9033
VUE_APP_BROWSER=http://47.114.159.142:9033
\ No newline at end of file
.env.production
View file @
32cd8d59
VUE_APP_SERVER=http://
172.16.101.87:46789
/api
VUE_APP_SERVER=http://
fd.33.cn:1294
/api
VUE_APP_BROWSER=http://47.114.159.142:9033
VUE_APP_BROWSER=http://47.114.159.142:9033
\ No newline at end of file
.env.test
View file @
32cd8d59
NODE_ENV
=
development
NODE_ENV
=
development
VUE_APP_SERVER
=
http
://
172.16
.
101.87
:
46789
/
api
VUE_APP_SERVER
=
http
://
fd
.
33.
cn
:
1294
/
api
VUE_APP_BROWSER
=
http
://
47.114
.
159.142
:
9033
VUE_APP_BROWSER
=
http
://
47.114
.
159.142
:
9033
\ No newline at end of file
src/api/modules/auth.ts
View file @
32cd8d59
...
@@ -11,6 +11,7 @@ const auth = {
...
@@ -11,6 +11,7 @@ const auth = {
});
});
},
},
face
(
params
:
any
)
{
face
(
params
:
any
)
{
// const { video_base64 }
return
axios
.
post
(
`
${
base
}
/user/face`
,
{
return
axios
.
post
(
`
${
base
}
/user/face`
,
{
...
params
,
...
params
,
});
});
...
...
src/components/template/TypeEight.vue
View file @
32cd8d59
...
@@ -61,8 +61,7 @@ export default class TypeEight extends Vue {
...
@@ -61,8 +61,7 @@ export default class TypeEight extends Vue {
private
handleFileChange
(
e
:
any
)
{
private
handleFileChange
(
e
:
any
)
{
const
[
file
]
=
e
.
target
.
files
;
const
[
file
]
=
e
.
target
.
files
;
if
(
!
file
)
{
return
;
}
if
(
!
file
)
{
return
;
}
console
.
log
(
file
.
size
);
if
(
file
.
size
>
10
*
1024
*
1024
)
{
if
(
file
.
size
>
10
*
1024
*
1024
)
{
this
.
$toast
(
'文件太大'
);
this
.
$toast
(
'文件太大'
);
return
;
return
;
}
}
...
...
src/views/auth/Personal.vue
View file @
32cd8d59
...
@@ -159,6 +159,7 @@ export default class Personal extends Vue {
...
@@ -159,6 +159,7 @@ export default class Personal extends Vue {
const
reader
=
new
FileReader
();
const
reader
=
new
FileReader
();
reader
.
readAsDataURL
(
file
);
reader
.
readAsDataURL
(
file
);
reader
.
onload
=
(
e
:
any
)
=>
{
reader
.
onload
=
(
e
:
any
)
=>
{
console
.
log
(
e
.
target
.
result
);
this
.
videoBase64
=
e
.
target
.
result
;
this
.
videoBase64
=
e
.
target
.
result
;
};
};
}
}
...
...
src/views/userCenter/components/CodeInput.vue
View file @
32cd8d59
...
@@ -35,7 +35,9 @@ export default class CodeInput extends Vue {
...
@@ -35,7 +35,9 @@ export default class CodeInput extends Vue {
@
Prop
({
@
Prop
({
required
:
true
,
required
:
true
,
}
)
private
codeTo
!
:
string
;
}
)
private
codeTo
!
:
string
;
@
Prop
()
private
code
!
:
string
;
@
Prop
({
required
:
true
,
}
)
private
code
!
:
string
;
private
count
:
number
=
0
;
private
count
:
number
=
0
;
private
showKeyboard
:
boolean
=
true
;
private
showKeyboard
:
boolean
=
true
;
...
...
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