去掉API的安全认证
Showing
3 changed files
with
5 additions
and
5 deletions
| ... | @@ -332,10 +332,10 @@ const sortParamsTableInfo = ref({ | ... | @@ -332,10 +332,10 @@ const sortParamsTableInfo = ref({ |
| 332 | <span class="item_label">请求方式:</span> | 332 | <span class="item_label">请求方式:</span> |
| 333 | <span class="item_value">{{ detailInfo.requestMode == 'G' ? 'get' : 'post' }}</span> | 333 | <span class="item_value">{{ detailInfo.requestMode == 'G' ? 'get' : 'post' }}</span> |
| 334 | </div> | 334 | </div> |
| 335 | <div class="list_item"> | 335 | <!-- <div class="list_item"> |
| 336 | <span class="item_label">安全认证:</span> | 336 | <span class="item_label">安全认证:</span> |
| 337 | <span class="item_value">{{ detailInfo.authenticationType == 'T' ? 'token认证' : '无认证' }}</span> | 337 | <span class="item_value">{{ detailInfo.authenticationType == 'T' ? 'token认证' : '无认证' }}</span> |
| 338 | </div> | 338 | </div> --> |
| 339 | <div class="list_item" v-if="detailInfo.authenticationType == 'N'"> | 339 | <div class="list_item" v-if="detailInfo.authenticationType == 'N'"> |
| 340 | <span class="item_label">IP白名单:</span> | 340 | <span class="item_label">IP白名单:</span> |
| 341 | <span class="item_value"> | 341 | <span class="item_value"> | ... | ... |
| ... | @@ -693,7 +693,7 @@ const baseFormRules = ref({ | ... | @@ -693,7 +693,7 @@ const baseFormRules = ref({ |
| 693 | /** 此处请求路径后端说只能输入一级。 */ | 693 | /** 此处请求路径后端说只能输入一级。 */ |
| 694 | requestPath: [required("请填写请求路径"), regexpValidate(/^\/[^\/][\w\u4e00-\u9fa5_-]*$/, '请填写合法的请求路径'), checkExistName(checkedPathInfo.value, checkExistRequestPath, detailInfo.value, 'requestPath', '该请求路径已存在,请填写其他路径')], | 694 | requestPath: [required("请填写请求路径"), regexpValidate(/^\/[^\/][\w\u4e00-\u9fa5_-]*$/, '请填写合法的请求路径'), checkExistName(checkedPathInfo.value, checkExistRequestPath, detailInfo.value, 'requestPath', '该请求路径已存在,请填写其他路径')], |
| 695 | requestMode: [required("请选择请求方式")], | 695 | requestMode: [required("请选择请求方式")], |
| 696 | authenticationType: [required("请选择安全认证")], | 696 | // authenticationType: [required("请选择安全认证")], |
| 697 | apiDescription: [required('请填写API描述'), description(200)], | 697 | apiDescription: [required('请填写API描述'), description(200)], |
| 698 | // whiteIPs: [required('请选择IP白名单')], | 698 | // whiteIPs: [required('请选择IP白名单')], |
| 699 | }); | 699 | }); | ... | ... |
| ... | @@ -344,10 +344,10 @@ onActivated(() => { | ... | @@ -344,10 +344,10 @@ onActivated(() => { |
| 344 | <span class="item_label">请求方式:</span> | 344 | <span class="item_label">请求方式:</span> |
| 345 | <span class="item_value">{{ detailInfo.requestMode == 'G' ? 'get' : 'post' }}</span> | 345 | <span class="item_value">{{ detailInfo.requestMode == 'G' ? 'get' : 'post' }}</span> |
| 346 | </div> | 346 | </div> |
| 347 | <div class="list_item"> | 347 | <!-- <div class="list_item"> |
| 348 | <span class="item_label">安全认证:</span> | 348 | <span class="item_label">安全认证:</span> |
| 349 | <span class="item_value">{{ detailInfo.authenticationType == 'T' ? 'token认证' : '无认证' }}</span> | 349 | <span class="item_value">{{ detailInfo.authenticationType == 'T' ? 'token认证' : '无认证' }}</span> |
| 350 | </div> | 350 | </div> --> |
| 351 | <div class="list_item" v-if="detailInfo.authenticationType == 'N'"> | 351 | <div class="list_item" v-if="detailInfo.authenticationType == 'N'"> |
| 352 | <span class="item_label">IP白名单:</span> | 352 | <span class="item_label">IP白名单:</span> |
| 353 | <span class="item_value"> | 353 | <span class="item_value"> | ... | ... |
-
Please register or sign in to post a comment