提交 15a7ad78 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!29 fix ui image issue of tag selecting

Merge pull request !29 from 潘慧/master_ph
......@@ -412,7 +412,7 @@ def validate_user_defined_info(user_defined_info):
if not isinstance(user_defined_info, dict):
log.error("Invalid user defined info. It should be a dict.")
raise LineageParamTypeError("Invalid user defined info. It should be dict.")
for key, value in user_defined_info:
for key, value in user_defined_info.items():
if not isinstance(key, str):
error_msg = "Dict key type {} is not supported in user defined info." \
"Only str is permitted now.".format(type(key))
......
......@@ -498,8 +498,8 @@ export default {
for (let i = oldTagListLength - 1; i >= 0; i--) {
if (!newTagDictionaries[this.tagOperateList[i].label]) {
dataRemoveFlag = true;
this.tagOperateList.splice(i, 1);
delete this.oriDataDictionaries[this.tagOperateList[i].label];
this.tagOperateList.splice(i, 1);
}
}
// Delete the old data from the image list and update the dictionary
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册