lilu

2836 经验值

avatar:73 Uncaught ReferenceError: checkCoords is not defined

at HTMLFormElement.onsubmit

嗯嗯,我已经找到原因了,key写错了

使用sendcloud,然后把queue改成了send方法报错Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required\r\n,这是什么原因?我按照网上的方法也没解决

ERROR in ./js/entry.js
Module build failed: TypeError: fileSystem.statSync is not a function

at module.exports (/Users/liuyi/study/webpack2/node_modules/babel-loader/lib/utils/exists.js:7:25)
at find (/Users/liuyi/study/webpack2/node_modules/babel-loader/lib/resolve-rc.js:13:9)
at Object.module.exports (/Users/liuyi/study/webpack2/node_modules/babel-loader/lib/index.js:113:132)

5.3的不太一样,完全照做之后 登录注册都不成功

<form method="POST" action="/mynote/read" accept-charset="UTF-8">
   <input type="hidden" name="_token" value="NdCTaAkD8faD5uOKCZyMZ0lgdoyYNQRREyG7pBTB">
   <input type="hidden" name="_method" value="DELETE">
   <button type="submit">标记已读</button>
</form>

标记阅读的提交实际上是POST方法 ,而我们做的路由用了delete 是否说明 laravel的delete请求方式是假的。只是为了删除的意义而做了一个delete路由?

anywhy 我找了一个解释 https://segmentfault.com/q/1010000000123615

{
  "name": "webpack",
  "version": "1.0.0",
  "description": "",
  "main": "bundle.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "babel-core": "^6.18.2",
    "babel-loader": "^6.2.7",
    "babel-plugin-transform-runtime": "^6.15.0",
    "babel-preset-es2015": "^6.18.0",
    "babel-preset-stage-0": "^6.16.0",
    "babel-runtime": "^6.18.0",
    "css-loader": "^0.25.0",
    "jquery": "^3.1.1",
    "style-loader": "^0.13.1",
    "vue": "^2.0.5",
    "vue-html-loader": "^1.2.3",
    "vue-loader": "^9.8.1",
    "vue-style-loader": "^1.0.0",
    "webpack-dev-server": "^1.16.2"
  }
}