js报错Uncaught ReferenceError: $ is not defined

使用tp框架的模板继承时, 子模板 (user.html) 中的main区块中使用到了jq操作,报错Uncaught ReferenceError: $ is not defined 子模板中要继承来之父模板中的jq库,必须放在父模板(base.html)中的 main区块之前
相关文章
相关标签/搜索