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

fix(mp-toutiao): add eslint-disable no-undef (tt)

上级 8047c7f6
...@@ -10,7 +10,7 @@ export function isPage () { ...@@ -10,7 +10,7 @@ export function isPage () {
export function initRefs (vm) { export function initRefs (vm) {
const mpInstance = vm.$scope const mpInstance = vm.$scope
/* global tt */ /* eslint-disable no-undef */
const minorVersion = parseInt(tt.getSystemInfoSync().SDKVersion.split('.')[1]) const minorVersion = parseInt(tt.getSystemInfoSync().SDKVersion.split('.')[1])
if (minorVersion > 16) { if (minorVersion > 16) {
Object.defineProperty(vm, '$refs', { Object.defineProperty(vm, '$refs', {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册