|
@@ -161,6 +161,7 @@ const handleMedicateAmount = () => {
|
|
|
isVisibleUpdateInfo.value = true;
|
|
|
message.warning("有新投放方案, 请查看")
|
|
|
} else {
|
|
|
+ updateNum.value = null;
|
|
|
isVisibleUpdateInfo.value = false;
|
|
|
}
|
|
|
return;
|
|
@@ -178,7 +179,7 @@ const handleMedicateAmount = () => {
|
|
|
if ( type === 'onePool' && r1 != lastNum ) {
|
|
|
updateNum.value = r1;
|
|
|
isVisibleUpdateInfo.value = true;
|
|
|
- r1 !== lastNum && message.warning("有新的投放方案, 请查看");
|
|
|
+ message.warning("有新的投放方案, 请查看");
|
|
|
}
|
|
|
|
|
|
if ( type === 'twoPool' && r2 != lastNum ) {
|
|
@@ -254,7 +255,7 @@ onMounted(async () => {
|
|
|
Object.keys(dataSourceParams.value).forEach(key => {
|
|
|
const item = dataSourceParams.value[key];
|
|
|
if ( !Object.keys(item).length ) {
|
|
|
- dataSourceParams.value[key] = params
|
|
|
+ dataSourceParams.value[key] = { ...params };
|
|
|
}
|
|
|
})
|
|
|
})
|