5fa003b8 by lihua

去掉API的安全认证

1 parent 56af7d44
......@@ -332,10 +332,10 @@ const sortParamsTableInfo = ref({
<span class="item_label">请求方式:</span>
<span class="item_value">{{ detailInfo.requestMode == 'G' ? 'get' : 'post' }}</span>
</div>
<div class="list_item">
<!-- <div class="list_item">
<span class="item_label">安全认证:</span>
<span class="item_value">{{ detailInfo.authenticationType == 'T' ? 'token认证' : '无认证' }}</span>
</div>
</div> -->
<div class="list_item" v-if="detailInfo.authenticationType == 'N'">
<span class="item_label">IP白名单:</span>
<span class="item_value">
......
......@@ -693,7 +693,7 @@ const baseFormRules = ref({
/** 此处请求路径后端说只能输入一级。 */
requestPath: [required("请填写请求路径"), regexpValidate(/^\/[^\/][\w\u4e00-\u9fa5_-]*$/, '请填写合法的请求路径'), checkExistName(checkedPathInfo.value, checkExistRequestPath, detailInfo.value, 'requestPath', '该请求路径已存在,请填写其他路径')],
requestMode: [required("请选择请求方式")],
authenticationType: [required("请选择安全认证")],
// authenticationType: [required("请选择安全认证")],
apiDescription: [required('请填写API描述'), description(200)],
// whiteIPs: [required('请选择IP白名单')],
});
......
......@@ -344,10 +344,10 @@ onActivated(() => {
<span class="item_label">请求方式:</span>
<span class="item_value">{{ detailInfo.requestMode == 'G' ? 'get' : 'post' }}</span>
</div>
<div class="list_item">
<!-- <div class="list_item">
<span class="item_label">安全认证:</span>
<span class="item_value">{{ detailInfo.authenticationType == 'T' ? 'token认证' : '无认证' }}</span>
</div>
</div> -->
<div class="list_item" v-if="detailInfo.authenticationType == 'N'">
<span class="item_label">IP白名单:</span>
<span class="item_value">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!