diff --git a/packages/uni-mp-baidu/dist/index.js b/packages/uni-mp-baidu/dist/index.js index e131a9b3c8b88843fe15e18c5d25bf77c4062b50..61ff178ae277706a48b14d9a6b5e1c79e5a852a3 100644 --- a/packages/uni-mp-baidu/dist/index.js +++ b/packages/uni-mp-baidu/dist/index.js @@ -1420,7 +1420,7 @@ function handleLink (event) { vueOptions.parent = parentVm; } -const mocks = ['nodeId', 'componentName', '_componentId']; +const mocks = ['nodeId', 'componentName', '_componentId', 'uniquePrefix']; function isPage () { return !this.ownerId diff --git a/packages/uni-quickapp-webview/dist/index.js b/packages/uni-quickapp-webview/dist/index.js index 9a8fad48e8403f5129d5cee2a6599d6a79da9a4c..042604a4e0487586aa7e8aaf3bb777a822c9a1e5 100644 --- a/packages/uni-quickapp-webview/dist/index.js +++ b/packages/uni-quickapp-webview/dist/index.js @@ -1211,7 +1211,7 @@ function parseBaseApp (vm, { return appOptions } -const mocks = ['nodeId', 'componentName', '_componentId']; +const mocks = ['nodeId', 'componentName', '_componentId', 'uniquePrefix']; function isPage () { return !this.ownerId