摘要:
<a-form-item label="订单号"> <a-select :disabled="model && model.confirmOrder" show-search v-decorator="['orderNo']" placeholder="请输入订单号" :default-active 阅读全文
摘要:
二级域名设置,要先在阿里云绑定二级域名,服务器IIS在设置主机头,IIS会监听域名是访问那个网站 阅读全文
摘要:
.net mvcwebapi设置允许跨域 global.asax中 //解决跨域问题 protected void Application_BeginRequest(object sender, EventArgs e) { //RegisterRoutes(RouteTable.Routes); 阅读全文
摘要:
将 config.index.js 下的 assetsPublicPath 修改为:assetsPublicPath: '/',可以解决问题。 阅读全文
摘要:
原本这样配置后,一直start nginx.exe ,发现一直不生效。后在网友的提醒下说有时要把nginx的进程先全部结束掉,在重新启用 阅读全文
摘要:
nginx服务器是一个轻量级、又简单的服务器,所以,对我来说,部署我的vue项目就选择它了。 首先,下载nginx服务器,官网下载地址http://nginx.org/en/download.html。选择一个适合的版本,我选择的是1.12.2版本。 下载完后,解压到自定义目录。目录结构如下: 在根 阅读全文
摘要:
使用axios的坑 jQuery.ajax的post提交默认的请求头的Content-Type: application/x-www-form-urlencoded而axios.post提交的请求头是Content-Type: application/json。 application/json是一 阅读全文