提交 b24abfed 编写于 作者: Q qiang

fix: global tt

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