|
@@ -136,8 +136,9 @@ const EMPTY_BOOK = (() => {
|
|
|
// 只有珠海才更新计算式
|
|
|
const updateObj = { ...diffData };
|
|
|
const area = AREA_BOOK.cache.find(areaItem => areaItem.ID === item.areaID);
|
|
|
- if (!area || !area.name || !/珠海/.test(area.name)) {
|
|
|
+ if (diffMap && (!area || !area.name || !/珠海/.test(area.name))) {
|
|
|
delete updateObj.expString;
|
|
|
+ delete diffData.expString;
|
|
|
}
|
|
|
postData.push({ type: UpdateType.UPDATE, ID: item.ID, areaID: area.ID, compilationID, period: curLibPeriod, data: updateObj });
|
|
|
});
|