Skip to content

Commit ba8edb4

Browse files
committed
fix: eslint
1 parent 4e33148 commit ba8edb4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/app-backend/src/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function initBackend (_bridge) {
6262
}
6363

6464
function connect ({
65-
Vue = null,
65+
Vue = null
6666
} = {}) {
6767
initSharedData({
6868
bridge
@@ -211,6 +211,7 @@ function scan () {
211211
let inFragment = false
212212
let currentFragment = null
213213

214+
// eslint-disable-next-line no-inner-declarations
214215
function processInstance (instance) {
215216
if (instance) {
216217
if (rootInstances.indexOf(instance.$root) === -1) {
@@ -260,7 +261,8 @@ function scan () {
260261
}
261262

262263
if (hook.apps.length) {
263-
for (const appRecord of hook.apps) {
264+
for (let i = 0, l = hook.apps.length; i < l; i++) {
265+
const appRecord = hook.apps[i]
264266
const id = appRecord.id = ++rootUID
265267
const instance = appRecord.app._container._vnode.component
266268
instance.__VUE_DEVTOOLS_ROOT_UID__ = id

0 commit comments

Comments
 (0)