feat(项目设置): 屏蔽cookie免登录

--story=1010692 --user=张大海 【UI测试】支持与环境管理打通 https://www.tapd.cn/55049933/s/1315234
This commit is contained in:
zhangdahai112 2022-12-15 11:23:02 +08:00 committed by zhangdahai112
parent d4ba871b97
commit 1cfcebe890
1 changed files with 9 additions and 8 deletions

View File

@ -102,11 +102,12 @@
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="24">
<ms-ui-scenario-cookie-table :items="httpConfig.cookie" ref="cookieTable"/>
</el-col>
</el-row>
<!-- 当前版本实现免登录是基于 cookie 的但是现在由于安全性问题绝大多数网站都不支持 cookie登录所以先屏蔽了-->
<!-- <el-row :gutter="10">-->
<!-- <el-col :span="24">-->
<!-- <ms-ui-scenario-cookie-table :items="httpConfig.cookie" ref="cookieTable"/>-->
<!-- </el-col>-->
<!-- </el-row>-->
</form-section>
</el-form-item>
@ -505,9 +506,9 @@ export default {
this.$refs["httpConfig"].validate((valid) => {
isValidate = valid;
});
if (this.$refs.cookieTable && !this.$refs.cookieTable.validate()) {
return false;
}
// if (this.$refs.cookieTable && !this.$refs.cookieTable.validate()) {
// return false;
// }
return isValidate;
},
batchAdd() {