fix(接口测试): 接口变更记录汇总

--bug=1027352 --user=宋昌昌 【接口测试】修改接口请求参数-变更记录问题汇总 https://www.tapd.cn/55049933/s/1389768
This commit is contained in:
song-cc-rock 2023-07-05 16:11:30 +08:00 committed by 刘瑞斌
parent 4ef50fc056
commit 8b1af2b919
1 changed files with 1 additions and 4 deletions

View File

@ -168,10 +168,7 @@ export default {
this.data.push(item);
item['box'] = true;
newObj['style'] = background_old;
newObj['required'] =
newObj.required === this.$t('commons.selector.required')
? this.$t('commons.selector.required')
: this.$t('commons.selector.not_required');
newObj['required'] = newObj.required ? this.$t('commons.selector.required') : this.$t('commons.selector.not_required');
this.data.push(newObj);
} else {
this.data.push(item);