Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hua1995116 committed Nov 12, 2018
1 parent 1e21891 commit 8db6bc4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/index.js
Expand Up @@ -8,7 +8,7 @@ module.exports = {
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/',
productionSourceMap: true,
productionSourceMap: false,
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,inital-scale=1.0,
<meta name="viewport" content="width=device-width,initial-scale=1.0,
maximum-scale=1.0,user-scalable=no">
<title>vuepro</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic">
Expand Down
2 changes: 1 addition & 1 deletion src/view/Register.vue
Expand Up @@ -28,7 +28,7 @@
async submit() {
const name = document.form1.username.value.trim()
const password = document.form1.password.value.trim()
const src = `//s3.qiufengh.com/avatar/${Math.ceil(Math.random() * 273)}.jpeg`
const src = `//s3.qiufengh.com/avatar/${Math.ceil(Math.random() * 272)}.jpeg`
if (name !== '' && password !== '') {
const data = {
name: name,
Expand Down

0 comments on commit 8db6bc4

Please sign in to comment.