- 博客(8)
- 收藏
- 关注
原创 【微信小程序】引用公共js文件
我这里的公共js文件为utils文件下的util.js,需要导出的公共方法是 verifyPhone();我需要在login.js中调用util.js中的verfyPhone方法。
2023-10-09 14:59:38 2152 1
原创 【微信小程序】警告“Do not have handler in component”
为input框绑定了model实现数据的双向绑定,但是在输入的时候就会出现上述错误。
2023-10-09 14:36:07 890 1
原创 [WinSpace] Request not found phpstudy
PHP study访问入口文件报错 [WinSpace] Request not found phpstudy80端口被占用,需要切换到8080端口
2022-05-10 13:30:42 4903 5
原创 does not have a method “showPop“ to handle event “tap“
微信小程序报错:“xxx” does not have a method "xxx" to handle event "tap".有些方法需要写在method里面,有些不用,我这里报错是因为写在了method里面,将方法放在与data同级就解决了!!!
2022-05-07 18:22:21 816
原创 【微信小程序】页面跳转问题
报错代码:WAServiceMainContext.js:2 Object(env: Windows,mp,1.05.2204180; lib: 2.14.1)困扰了好久的问题!!!!错误代码网上的资料有的说是没有在app.json里面注册,有的说需要吧navigateTo换成reLunch,各种检查无误之后才发现是需要在pages前面加/正确代码...
2022-05-02 16:12:05 3737 2
原创 VUE+ECharts 自定义toolTip样式
tooltip:{ show:true, backgroundColor: "transparent", borderColor: "transparent", confine: true, // showContent:false, formatter: (resp)=>{ //插入html片段 let frame = ` <div cl.
2022-01-05 14:44:42 825
原创 vue中使用swiper实现列表滚动
1.安装swiperswiper Vue官方地址:Swiper Vue.js ComponentsSwiper is the most modern free mobile touch slider with hardware accelerated transitions and amazing native behavior.https://swiperjs.com/vue安装swiper npm i swiper2.引入swiperimport Swiper from "s.
2022-01-05 11:40:55 1879 1
原创 遍历器机制iterator
遍历器机制即iterator:其作用有三个,提供统一便利的访问接口,是数据结构成员按照一定次序排列,供forof使用遍历。调用遍历器后其会返回一个含有value和done两个属性的对象,value代表当前成员值,done为布尔值代表当前是否完成遍历,同时对象还存在一个next方法遍历下一个有效值。...
2021-06-05 19:13:27 64
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人