Skip to content

模块中require一个.tpl文件但是获取不到 #27

@tingxu-wang

Description

@tingxu-wang

我在一个模块中引用了一个.tpl文件,在浏览器xhr请求中显示已经获取到了.tpl文件,但是我在模块中console.log出来却显示为null

浏览器network截图:
wx20170301-180248
代码截图:
2
浏览器console截图:
3

何解?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions