提交 cdea8183 authored 作者: 吴强's avatar 吴强

init commit

上级 3e17c6a8
......@@ -25,13 +25,13 @@ const resource_proxy = {
const V4_proxy = {
//"http://106.ihuyi.cn/webservice/sms.php?method=Submit
"target": "http://JTWeiXin.free.ngrok.cc",
"target": "http://222.73.234.155",
"changeOrigin": true,
"headers":{
"host":"JTWeiXin.free.ngrok.cc"
"host":"222.73.234.155"
},
"pathRewrite": {
"^/V4": "V4"
"^/V4": "/WPF/JTWebApiService/V4"
}
};
module.exports = {
......@@ -60,10 +60,10 @@ module.exports = {
}
},
"production": {
publicPath: "/bm/",
publicPath: "/bm-wx/",
define: {
contextPath: "/bm",
apiContextPath: "/bm"
contextPath: "/bm-wx",
apiContextPath: "/bm-wx"
},
extraBabelPlugins: [
["import", { libraryName: "antd-mobile", style: "css" }]
......
......@@ -5,7 +5,11 @@ import './index.css';
console.log('index.js');
// 1. Initialize
const app = dva({
history: createBrowserHistory(),
history: createBrowserHistory({
}),
// history: createBrowserHistory({
// basename: '/bm-wx',
// }),
});
// 2. Plugins
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论