基础库问题

发布于 7 年前作者 zhangchao4017 次浏览最后编辑 7 年前来自 ask

刚升级的开发工具就报错,基础库1.6.6没事,1.6.4就报错,之前我用的1.6.4的,现在没办法改用1.6.6

VM2644:1 jsEnginScriptError

document.createDocumentFragment is not a function

TypeError: document.createDocumentFragment is not a function

    at _ (http://127.0.0.1:34083/appservice/\_\_dev\_\_/WAService.js:10:29608)

    at y (http://127.0.0.1:34083/appservice/\_\_dev\_\_/WAService.js:10:30678)

    at Function.c._attachShadowRoot (http://127.0.0.1:34083/appservice/\_\_dev\_\_/WAService.js:11:677)

    at Object.p.create [as createElement] (http://127.0.0.1:34083/appservice/\_\_dev\_\_/WAService.js:11:13533)

    at e.value (http://127.0.0.1:34083/appservice/\_\_dev\_\_/WAService.js:12:17263)

    at http://127.0.0.1:34083/appservice/\_\_dev\_\_/WAService.js:12:18003

    at Array.forEach (<anonymous>)

    at e.value (http://127.0.0.1:34083/appservice/\_\_dev\_\_/WAService.js:12:17975)

    at e.value (http://127.0.0.1:34083/appservice/\_\_dev\_\_/WAService.js:12:14921)

    at Object.p.create [as createElement] (http://127.0.0.1:34083/appservice/\_\_dev\_\_/WAService.js:11:13222)

3 回复
zhangchao
zhangchao1 楼6 年前

同样的问题+1,更新到最新开发工具

luoxiuying
luoxiuying2 楼6 年前

你好,为什么没有办法改用1.6.6?项目设置里的调试基础库里面选择不了1.6.6吗?

ylong
ylong3 楼5 年前

我的意思是,用1.6.4出错,没有办法只能选择1.6.6,不是开发工具不能选,给你造成了歧义,不好意思。