feat(项目设置): 屏蔽cookie免登录
--story=1010692 --user=张大海 【UI测试】支持与环境管理打通 https://www.tapd.cn/55049933/s/1315234
This commit is contained in:
parent
9246fd6bb1
commit
35ce73345e
|
@ -102,11 +102,12 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="10">
|
<!-- 当前版本实现免登录是基于 cookie 的但是现在由于安全性问题绝大多数网站都不支持 cookie登录所以先屏蔽了-->
|
||||||
<el-col :span="24">
|
<!-- <el-row :gutter="10">-->
|
||||||
<ms-ui-scenario-cookie-table :items="httpConfig.cookie" ref="cookieTable"/>
|
<!-- <el-col :span="24">-->
|
||||||
</el-col>
|
<!-- <ms-ui-scenario-cookie-table :items="httpConfig.cookie" ref="cookieTable"/>-->
|
||||||
</el-row>
|
<!-- </el-col>-->
|
||||||
|
<!-- </el-row>-->
|
||||||
</form-section>
|
</form-section>
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -505,9 +506,9 @@ export default {
|
||||||
this.$refs["httpConfig"].validate((valid) => {
|
this.$refs["httpConfig"].validate((valid) => {
|
||||||
isValidate = valid;
|
isValidate = valid;
|
||||||
});
|
});
|
||||||
if (this.$refs.cookieTable && !this.$refs.cookieTable.validate()) {
|
// if (this.$refs.cookieTable && !this.$refs.cookieTable.validate()) {
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
return isValidate;
|
return isValidate;
|
||||||
},
|
},
|
||||||
batchAdd() {
|
batchAdd() {
|
||||||
|
|
Loading…
Reference in New Issue