|
@@ -458,7 +458,7 @@ function getTimeStamp() {
|
|
|
* @param func2 入参:旧值、新值 出参:无 logValueChange(oldValue, newValue)
|
|
|
*/
|
|
|
function monitorAndAct(func1, func2) {
|
|
|
- let oldValue = undefined;
|
|
|
+ let oldValue = func1();
|
|
|
|
|
|
function checkValue() {
|
|
|
const newValue = func1();
|