提交 15515669 编写于 作者: D DCloud_LXH

fix: 支付宝小程序 __VUE_DEVTOOLS_GLOBAL_HOOK__ 报错

上级 1515a5d6
......@@ -951,13 +951,14 @@ Store.prototype.install = function install (app, injectKey) {
app.provide(injectKey || storeKey, this)
app.config.globalProperties.$store = this
var useDevtools = this._devtools !== undefined
// 浏览器Vue.js devTools插件 在小程序中不走此处逻辑
/* var useDevtools = this._devtools !== undefined
? this._devtools
: (process.env.NODE_ENV !== 'production') || false
if (useDevtools) {
addDevtools(app, this)
}
} */
}
prototypeAccessors.state.get = function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册