Commit 32cd8d59 authored by yyh's avatar yyh

后端服务地址修改

parent e87ef81b
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
\ No newline at end of file
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
\ No newline at end of file
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
\ No newline at end of file
......@@ -11,6 +11,7 @@ const auth = {
});
},
face(params: any) {
// const { video_base64 }
return axios.post(`${base}/user/face`, {
...params,
});
......
......@@ -61,8 +61,7 @@ export default class TypeEight extends Vue {
private handleFileChange(e: any) {
const [ file ] = e.target.files;
if (!file) { return; }
console.log(file.size);
if(file.size > 10 * 1024 * 1024) {
if (file.size > 10 * 1024 * 1024) {
this.$toast('文件太大');
return;
}
......
......@@ -159,6 +159,7 @@ export default class Personal extends Vue {
const reader = new FileReader();
reader.readAsDataURL(file);
reader.onload = (e: any) => {
console.log(e.target.result);
this.videoBase64 = e.target.result;
};
}
......
......@@ -35,7 +35,9 @@ export default class CodeInput extends Vue {
@Prop({
required: true,
})private codeTo!: string;
@Prop()private code!: string;
@Prop({
required: true,
})private code!: string;
private count: number = 0;
private showKeyboard: boolean = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment