Skip to content
代码片段 群组 项目
未验证 提交 2aa01f48 编辑于 作者: Mireya Andres's avatar Mireya Andres 提交者: GitLab
浏览文件

Merge branch '451128-vue3-migration-job_assistant_drawer' into 'master'

Remove this.$delete job_assistant_drawer.vue

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/149462



Merged-by: default avatarMireya Andres <mandres@gitlab.com>
Approved-by: default avatarAngelo Gulina <agulina@gitlab.com>
Approved-by: default avatarMireya Andres <mandres@gitlab.com>
Reviewed-by: default avatarAngelo Gulina <agulina@gitlab.com>
Co-authored-by: default avatarArtur Fedorov <afedorov@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -158,9 +158,9 @@ export default { ...@@ -158,9 +158,9 @@ export default {
const targetObj = path.length === 1 ? this.job : get(this.job, path.slice(0, -1)); const targetObj = path.length === 1 ? this.job : get(this.job, path.slice(0, -1));
const lastKey = path[path.length - 1]; const lastKey = path[path.length - 1];
if (value !== undefined) { if (value !== undefined) {
this.$set(targetObj, lastKey, value); targetObj[lastKey] = value;
} else { } else {
this.$delete(targetObj, lastKey); delete targetObj[lastKey];
} }
}, },
validateJob() { validateJob() {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册