Commit da966f59 authored by tianhongyang's avatar tianhongyang

fix

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