去除service无效代码

This commit is contained in:
catchonme 2020-01-14 11:09:18 +08:00
parent aca634842a
commit 5ca51b0afb
1 changed files with 1 additions and 2 deletions

View File

@ -363,8 +363,7 @@ export const ServiceStore = iRendererStore
if (json.data) {
self.schema = json.data;
self.schemaKey = '' + Date.now();
let schemaData = isObject(json.data) && isObject(json.data.data) ? json.data.data : null;
schemaData && self.updateData(schemaData)
isObject(json.data.data) && self.updateData(json.data.data);
}
updateMessage(json.msg || (options && options.successMessage));