提交 3fb1baba 编写于 作者: fxy060608's avatar fxy060608

build uni runtime (add mp-baidu nodeId)

上级 f4759747
......@@ -309,7 +309,9 @@ Component = function (options = {}) {
return MPComponent(options)
};
const MOCKS = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__', '__webviewId__'];
/* mp-toutiao __webviewId__ */
/* mp-baidu nodeId */
const MOCKS = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__', '__webviewId__', 'nodeId'];
function initMocks (vm) {
const mpInstance = vm.$mp[vm.mpType];
......
{
"name": "@dcloudio/uni-app-plus",
"version": "0.0.225",
"version": "0.0.226",
"description": "uni-app app-plus",
"main": "dist/index.js",
"scripts": {
......
......@@ -444,7 +444,9 @@ Component = function (options = {}) {
return MPComponent(options)
};
const MOCKS = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__', '__webviewId__'];
/* mp-toutiao __webviewId__ */
/* mp-baidu nodeId */
const MOCKS = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__', '__webviewId__', 'nodeId'];
function initMocks (vm) {
const mpInstance = vm.$mp[vm.mpType];
......
{
"name": "@dcloudio/uni-mp-baidu",
"version": "0.0.822",
"version": "0.0.823",
"description": "uni-app mp-baidu",
"main": "dist/index.js",
"scripts": {
......
......@@ -489,7 +489,9 @@ Component = function (options = {}) {
return MPComponent(options)
};
const MOCKS = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__', '__webviewId__'];
/* mp-toutiao __webviewId__ */
/* mp-baidu nodeId */
const MOCKS = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__', '__webviewId__', 'nodeId'];
function initMocks (vm) {
const mpInstance = vm.$mp[vm.mpType];
......
{
"name": "@dcloudio/uni-mp-toutiao",
"version": "0.0.320",
"version": "0.0.321",
"description": "uni-app mp-toutiao",
"main": "dist/index.js",
"scripts": {
......
......@@ -336,7 +336,9 @@ Component = function (options = {}) {
return MPComponent(options)
};
const MOCKS = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__', '__webviewId__'];
/* mp-toutiao __webviewId__ */
/* mp-baidu nodeId */
const MOCKS = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__', '__webviewId__', 'nodeId'];
function initMocks (vm) {
const mpInstance = vm.$mp[vm.mpType];
......
{
"name": "@dcloudio/uni-mp-weixin",
"version": "0.0.944",
"version": "0.0.945",
"description": "uni-app mp-weixin",
"main": "dist/index.js",
"scripts": {
......
......@@ -5,7 +5,9 @@ import {
isPlainObject
} from 'uni-shared'
const MOCKS = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__', '__webviewId__']
/* mp-toutiao __webviewId__ */
/* mp-baidu nodeId */
const MOCKS = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__', '__webviewId__', 'nodeId']
export function initMocks (vm) {
const mpInstance = vm.$mp[vm.mpType]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册