From c1eb13e7e4eca63bab46b6266b17a6829c5c0737 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Mon, 14 Feb 2022 18:57:12 +0800 Subject: [PATCH] fix: fix: use low version syntax question/137886 --- .../vue-cli-plugin-uni/packages/vuex/dist/vuex.esm-browser.js | 2 +- .../vue-cli-plugin-uni/packages/vuex/dist/vuex.esm-bundler.js | 2 +- packages/vue-cli-plugin-uni/packages/vuex3/dist/vuex.common.js | 2 +- .../vue-cli-plugin-uni/packages/vuex3/dist/vuex.esm.browser.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/vue-cli-plugin-uni/packages/vuex/dist/vuex.esm-browser.js b/packages/vue-cli-plugin-uni/packages/vuex/dist/vuex.esm-browser.js index 39a3e47eb..f56dff4ef 100644 --- a/packages/vue-cli-plugin-uni/packages/vuex/dist/vuex.esm-browser.js +++ b/packages/vue-cli-plugin-uni/packages/vuex/dist/vuex.esm-browser.js @@ -1137,7 +1137,7 @@ Store.prototype.hasModule = function hasModule (path) { return this._modules.isRegistered(path) } -Store.prototype[[104,111,116,85,112,100,97,116,101].map(item =>String.fromCharCode(item)).join('')] = function (newOptions) { +Store.prototype[[104,111,116,85,112,100,97,116,101].map(function (item) {return String.fromCharCode(item)}).join('')] = function (newOptions) { this._modules.update(newOptions) resetStore(this, true) } diff --git a/packages/vue-cli-plugin-uni/packages/vuex/dist/vuex.esm-bundler.js b/packages/vue-cli-plugin-uni/packages/vuex/dist/vuex.esm-bundler.js index 8d293045f..6061aed25 100644 --- a/packages/vue-cli-plugin-uni/packages/vuex/dist/vuex.esm-bundler.js +++ b/packages/vue-cli-plugin-uni/packages/vuex/dist/vuex.esm-bundler.js @@ -1138,7 +1138,7 @@ Store.prototype.hasModule = function hasModule (path) { return this._modules.isRegistered(path) } -Store.prototype[[104,111,116,85,112,100,97,116,101].map(item =>String.fromCharCode(item)).join('')] = function (newOptions) { +Store.prototype[[104,111,116,85,112,100,97,116,101].map(function (item) {return String.fromCharCode(item)}).join('')] = function (newOptions) { this._modules.update(newOptions) resetStore(this, true) } diff --git a/packages/vue-cli-plugin-uni/packages/vuex3/dist/vuex.common.js b/packages/vue-cli-plugin-uni/packages/vuex3/dist/vuex.common.js index 6fc37e650..c4ec05cc2 100644 --- a/packages/vue-cli-plugin-uni/packages/vuex3/dist/vuex.common.js +++ b/packages/vue-cli-plugin-uni/packages/vuex3/dist/vuex.common.js @@ -615,7 +615,7 @@ Store.prototype.hasModule = function hasModule (path) { return this._modules.isRegistered(path) }; -Store.prototype[[104,111,116,85,112,100,97,116,101].map(item =>String.fromCharCode(item)).join('')] = function (newOptions) { +Store.prototype[[104,111,116,85,112,100,97,116,101].map(function (item) {return String.fromCharCode(item)}).join('')] = function (newOptions) { this._modules.update(newOptions); resetStore(this, true); }; diff --git a/packages/vue-cli-plugin-uni/packages/vuex3/dist/vuex.esm.browser.js b/packages/vue-cli-plugin-uni/packages/vuex3/dist/vuex.esm.browser.js index b7c951702..788fbd193 100644 --- a/packages/vue-cli-plugin-uni/packages/vuex3/dist/vuex.esm.browser.js +++ b/packages/vue-cli-plugin-uni/packages/vuex3/dist/vuex.esm.browser.js @@ -592,7 +592,7 @@ class Store { return this._modules.isRegistered(path) } - [[104,111,116,85,112,100,97,116,101].map(item =>String.fromCharCode(item)).join('')] (newOptions) { + [[104,111,116,85,112,100,97,116,101].map(function (item) {return String.fromCharCode(item)}).join('')] (newOptions) { this._modules.update(newOptions); resetStore(this, true); } -- GitLab