Commit 45a14e29 by weijiguang

修改线上url

parent 0eeca6f3
import axios from "@/libs/axios";
import { stringify } from "qs";
const proxy = process.env.NODE_ENV == 'development' ? "/apis" : "https://smp.sskuaixiu.com/api/order/pub-open/";
const proxy = process.env.NODE_ENV == 'development' ? "/apis" : "https://auto.bjjsycloud.com/api/";
// if(process.env.NODE_ENV == 'development') {
// console.log("dev: " + proxy);
// } else {
......
......@@ -7,7 +7,7 @@
<Row>
<Col span="24">
<FormItem label="费用项名称" prop="name">
<Input v-model.trim="saveForm.name" type="text" />
<Input v-model.trim="saveForm.name" type="text" placeholder="名称"/>
</FormItem>
</Col>
</Row>
......@@ -23,7 +23,7 @@
<Row>
<Col span="24">
<FormItem label="金额" prop="amount">
<Input v-model.trim="saveForm.amount" type="text" />
<Input v-model.trim="saveForm.amount" type="text" placeholder="金额"/>
</FormItem>
</Col>
</Row>
......
......@@ -7,14 +7,14 @@
<Row>
<Col span="24">
<FormItem label="品牌编码" prop="code">
<Input v-model.trim="dataForm.code" type="text" />
<Input v-model.trim="dataForm.code" type="text" placeholder="编码"/>
</FormItem>
</Col>
</Row>
<Row>
<Col span="24">
<FormItem label="品牌名称" prop="name">
<Input v-model.trim="dataForm.name" type="text" />
<Input v-model.trim="dataForm.name" type="text" placeholder="名称"/>
</FormItem>
</Col>
</Row>
......
......@@ -15,14 +15,14 @@
<Row>
<Col span="24">
<FormItem label="型号编码" prop="code">
<Input v-model.trim="dataForm.code" type="text" />
<Input v-model.trim="dataForm.code" type="text" placeholder="编码"/>
</FormItem>
</Col>
</Row>
<Row>
<Col span="24">
<FormItem label="型号名称" prop="name">
<Input v-model.trim="dataForm.name" type="text" />
<Input v-model.trim="dataForm.name" type="text" placeholder="名称"/>
</FormItem>
</Col>
</Row>
......
......@@ -4,7 +4,7 @@ module.exports = {
proxy: {
'/apis': {
target: 'http://localhost:8088/', // 接口域名
// target: 'https://smp.sskuaixiu.com/', // 接口域名
// target: 'https://auto.bjjsycloud.com/api/', // 接口域名
changeOrigin: true, //是否跨域
pathRewrite: {
'^/apis': '/' //需要rewrite重写的,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment