diff --git a/src/views/Notfound.vue b/src/views/Notfound.vue new file mode 100644 index 0000000..c48bc13 --- /dev/null +++ b/src/views/Notfound.vue @@ -0,0 +1,33 @@ + + + + + + 404 + It seems that the page you are looking for no longer exists.Please contact our help center or go to the homepage. + + + + + + + + + + diff --git a/src/views/auth/Register.vue b/src/views/auth/Register.vue index a53df63..107f60c 100644 --- a/src/views/auth/Register.vue +++ b/src/views/auth/Register.vue @@ -150,7 +150,7 @@ export default { async GetCode() { this.verification_email() if (!this.error.email) { - let res=await SendValidateCode_api(this.form.email) + let res=await this.$api.SendValidateCode(this.form.email) this.countdown = 60 this.startCountdown() @@ -172,7 +172,7 @@ export default { this.verification_validatecode() this.verification_check() if (!this.error.username && !this.error.email && !this.error.password && !this.error.validatecode && !this.error.agrement) { - let res=await registered_api({ + let res=await this.$api.register({ username: this.form.username, password: this.form.password, email: this.form.email, diff --git a/vue.config.js b/vue.config.js index d8208ab..1c6492e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -2,10 +2,7 @@ const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ publicPath: process.env.BRANCH_PATH || '/', // π ζ―ζε¨ζεθ·―εΎι¨η½² - transpileDependencies: true, - dev: { - devtool: 'source-map', - } + transpileDependencies: true })
It seems that the page you are looking for no longer exists.Please contact our help center or go to the homepage.