Commit da966f59 authored by tianhongyang's avatar tianhongyang

fix

parent 15f7f112
This diff is collapsed.
......@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"test": "vue-cli-service serve --development",
"test": "vue-cli-service serve --host 192.168.60.48 --development",
"serve": "vue-cli-service serve --production",
"build": "vue-cli-service build --production"
},
......
......@@ -7,6 +7,12 @@ export const getAuthenticationDetailApi = () => network({
// 获取供应商类型
export const getSupplierTypeApi = () => network({
url : "/category/list/tree",
method : "post"
})
\ No newline at end of file
url: "/category/list/tree",
method: "post",
headers : {
isToken : false
},
data: {
name: ""
}
});
\ No newline at end of file
......@@ -87,7 +87,7 @@
</el-form-item>
<el-form-item label="供应商类型选择:" prop="catId">
<el-cascader v-model="form.catId" :options="options" disabled placeholder=""></el-cascader>
<el-cascader v-model="form.catId" :options="options" disabled placeholder="" :props="props"></el-cascader>
</el-form-item>
</div>
......@@ -141,9 +141,8 @@ export default {
},
options: [],
props: {
emitPath: false,
value : "catId",
label : "name"
value: "catId",
label: "name"
}
};
},
......@@ -222,6 +221,10 @@ export default {
flex: 1;
margin: 0px !important;
.el-cascader {
width: 100%;
}
img {
width: 100%;
max-height: 200px;
......
......@@ -86,13 +86,13 @@ module.exports = defineConfig({
},
// 本地代理服务器
devServer: {
host: 'localhost',
host: '0.0.0.0',
port: "8866",
open: true,
proxy: {
[process.env.VUE_APP_BASE_API]: {
target: `http://139.9.157.49:8088`,
// target: `http://192.168.60.172:8188`,
// target: `http://139.9.157.49:8088`,
target: `http://192.168.60.172:8188`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
......
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