增加minio配置前端访问地址
parent
601a2e8d33
commit
6c5994202b
|
@ -28,9 +28,14 @@
|
||||||
|
|
||||||
<!-- MINIO存储-->
|
<!-- MINIO存储-->
|
||||||
|
|
||||||
|
<FormItem v-if="formValidate.type==='MINIO'" label="访问地址" prop="m_frontUrl">
|
||||||
|
<Input v-model="formValidate.m_frontUrl"/>
|
||||||
|
<span class="desc">配置MINIO nginx前端访问转发地址,一般为完整域名,例如:https://minio.pickmall.cn</span>
|
||||||
|
</FormItem>
|
||||||
<FormItem v-if="formValidate.type==='MINIO'" label="endpoint" prop="m_endpoint">
|
<FormItem v-if="formValidate.type==='MINIO'" label="endpoint" prop="m_endpoint">
|
||||||
<Input v-model="formValidate.m_endpoint"/>
|
<Input v-model="formValidate.m_endpoint"/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<FormItem v-if="formValidate.type==='MINIO'" label="accessKey" class="label-item" prop="m_accessKey">
|
<FormItem v-if="formValidate.type==='MINIO'" label="accessKey" class="label-item" prop="m_accessKey">
|
||||||
<Input v-model="formValidate.m_accessKey"/>
|
<Input v-model="formValidate.m_accessKey"/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
@ -40,6 +45,7 @@
|
||||||
<FormItem v-if="formValidate.type==='MINIO'" label="bucketName" prop="accessKeyId">
|
<FormItem v-if="formValidate.type==='MINIO'" label="bucketName" prop="accessKeyId">
|
||||||
<Input v-model="formValidate.m_bucketName"/>
|
<Input v-model="formValidate.m_bucketName"/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<div class="label-btns">
|
<div class="label-btns">
|
||||||
<Button type="primary" @click="submit('formValidate')">保存</Button>
|
<Button type="primary" @click="submit('formValidate')">保存</Button>
|
||||||
|
|
||||||
|
@ -66,6 +72,7 @@ export default {
|
||||||
m_accessKey: "",
|
m_accessKey: "",
|
||||||
m_secretKey: "",
|
m_secretKey: "",
|
||||||
m_bucketName: "",
|
m_bucketName: "",
|
||||||
|
m_frontUrl: ""
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -126,4 +133,9 @@ export default {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
.desc {
|
||||||
|
margin-left: 5px;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue