fast-vue-multi-pages-vite 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1775,11 +1775,13 @@ var FastVueMultiEventBus = class {
|
|
|
1775
1775
|
for (let config of configs) if (watchValue !== null && watchValue !== void 0 && watchValue !== "null" && watchValue !== "undefined") {
|
|
1776
1776
|
let timestamp = parseInt(watchValue);
|
|
1777
1777
|
if (isNaN(timestamp)) continue;
|
|
1778
|
-
if (config.timestamp < timestamp)
|
|
1779
|
-
if (params) params = JSON.parse(params);
|
|
1778
|
+
if (config.timestamp < timestamp) {
|
|
1780
1779
|
config.timestamp = timestamp;
|
|
1781
|
-
|
|
1782
|
-
|
|
1780
|
+
FastVueMultiDB.getValue("EVENT@PARMAS@" + eventName).then((params) => {
|
|
1781
|
+
if (params) params = JSON.parse(params);
|
|
1782
|
+
config.callback(eventName, params);
|
|
1783
|
+
});
|
|
1784
|
+
}
|
|
1783
1785
|
}
|
|
1784
1786
|
});
|
|
1785
1787
|
}
|