AcWing
  • 首页
  • 活动
  • 题库
  • 竞赛
  • 应用
  • 更多
    • 题解
    • 分享
    • 商店
    • 问答
    • 吐槽
  • App
  • 登录/注册

django课调用jquery的show()和hide()报错



0


在playground中调用show报错undefined

show() { // 打开playground界面
        this.$playground.show();
    }

报错,Uncaught TypeError: Cannot read properties of undefined (reading 'show').
但是在menu中调用show和hide都是正常调用,这是为什么啊,有木有大佬解答!!!

Django

提问于15天前
Happy丶
964


1 个问答



0

猜测this.$playground这个对象有问题, 你可以打印看看这个对象是什么

回答于13天前
Fluent
24751

感谢!!!playground中的construct少了个s,我是zz!! –  Happy丶   13天前


我来回答
你确定删除吗?
1024
x

© 2018-2023 AcWing 版权所有  |  京ICP备17053197号-1
用户协议  |  隐私政策  |  常见问题  |  联系我们
AcWing
请输入登录信息
更多登录方式: 微信图标 qq图标
请输入绑定的邮箱地址
请输入注册信息