02 2020 档案

react 实战:写一个年份选择器
摘要:上代码。 组件的Js文件。 import React, { Component } from "react"; import Style from './myYearSelect.less' function getOffsetTop(el){ return el.offsetParent ? el 阅读全文

posted @ 2020-02-16 20:33 fox_charon 阅读(422) 评论(0) 推荐(0) 编辑

微信小程序实战:表单与选择控件的结合
摘要:先上代码。 login.wxml <mp-toptips msg="{{error}}" type="error" show="{{error}}"></mp-toptips> <view class="page-body"> <mp-form id="form" rules="{{rules}}" 阅读全文

posted @ 2020-02-04 20:35 fox_charon 阅读(1914) 评论(0) 推荐(0) 编辑

微信小程序实战:app主页面保存page页面实例
摘要:先上代码。 app.js //app.js App({ onLaunch: function () { // 登录 wx.login({ success: res => { if (this.globalData.pageObject.index.setData) { this.globalData 阅读全文

posted @ 2020-02-04 14:37 fox_charon 阅读(563) 评论(0) 推荐(0) 编辑

antd踩坑:value.locale is not a function
摘要:这个问题来源于日期选择器 RangerPicker 的特殊情况。 <Col span={7} key={9}> <FormItem label="投运时间" {...formItemLayout2}> {getFieldDecorator('tysj', { initialValue: [undef 阅读全文

posted @ 2020-02-02 14:39 fox_charon 阅读(6582) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示