fix(项目管理): 应用管理关联需求图片未加载
--bug=1036133 --user=王旭 【项目管理】应用管理,关联需求,预览不显示图片 https://www.tapd.cn/55049933/s/1472313
This commit is contained in:
parent
ad7bcaa7cf
commit
3029d1e078
|
@ -120,6 +120,14 @@
|
|||
(e: 'cancel', shouldSearch: boolean): void;
|
||||
}>();
|
||||
|
||||
const resetForm = () => {
|
||||
formRef.value?.resetFields();
|
||||
platformItem.value = [];
|
||||
platformRules.value = [];
|
||||
formCreateValue.value = {};
|
||||
sessionStorage.removeItem('platformKey');
|
||||
};
|
||||
|
||||
const handleCancel = (shouldSearch: boolean) => {
|
||||
emit('cancel', shouldSearch);
|
||||
sessionStorage.removeItem('platformKey');
|
||||
|
@ -136,7 +144,9 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
resetForm();
|
||||
platformRules.value = res.formItems;
|
||||
sessionStorage.setItem('platformKey', value as string);
|
||||
} else {
|
||||
platformRules.value = [];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue