Dev
搜索

Dev

换系统步骤
发表于2024-03-28|others
备份秘钥 备份代码 备份文档 备份图片视频
微信小程序 input 错位 placeholder 层级过高
发表于2024-03-15|others
input错位 原因微信小程序输入时候,会自动上推页面,会出现这个奇怪的问题 解决只要让整个页面可以自动撑开即可,比如最外层的container不要限制高度 placeholder层级只要给不想被错误覆盖的元素一个z-index
git 用远端覆盖本地
发表于2024-03-11|day
https://blog.csdn.net/sinat_36184075/article/details/80115000 123git fetch --allgit reset --hard origin/mastergit pull 不切换分支直接he’bing 123git fetch origingit merge origin/guojin/newemail
yii2 时间戳 修改格式 使用字符串
发表于2024-03-06|php
1234567891011121314public function behaviors(){ $behaviors = parent::behaviors(); $time = [ 'class' => \yii\behaviors\TimestampBehavior::class, 'value' => fn () => date('Y-m-d H:i:s'), 'attributes' => [ \yii\db\ActiveRecord::EVENT_BEFORE_INSERT => ['create_time', 'update_time'], \yii\db\ActiveRecord::EVENT_BEFORE_UPDATE => ['update_time'], ...
全国省市区行政区划数据
发表于2024-03-05|others
https://github.com/modood/Administrative-divisions-of-China https://gitee.com/shadowy/china-city
yii2 依赖注入 自动装配
发表于2024-03-02|php
Yii2对象123456public function __construct( public AssetLogic $logic, $config = [],) { parent::__construct($config);} 控制器 包括命令行和web 12345678public function __construct( $id, $moudule, $config, public AssetLogic $assetLogic,) { parent::__construct($id, $moudule, $config);}
产品感悟
发表于2024-02-02|day
很多产品都是”滤镜”,比如:mbti心理测试,实际上就是说用户好话,让用户便于分享.类似于照片美颜
yii2 只更新时间戳
发表于2024-01-23|php
1$patient->touch(['update_time']);
laravel 输出时间戳timestamps总是格式错误
发表于2023-11-29|php
可以在输出前配置 1234protected $casts = [ 'created_at' => 'datetime:Y-m-d h:i:s', 'updated_at' => 'datetime:Y-m-d h:i:s',];
php switch case的问题
发表于2023-11-27|php
123456789$type = 'miniprogram';switch ($type) { case Message::MSGTYPE_MINIPROGRAM: var_dump(22); case Message::MSGTYPE_VIDEO: var_dump(111); break; default: break; 由于22那里没有break,导致他还会输出111
1…111213…104
avatar
developer
AI相伴的开发者博客
文章
1035
标签
742
分类
36
公告
This is my Blog
最新文章
wslc空间清理2026-11-16
Cmder 跟随 Windows 明暗主题2026-10-28
Intel(R) System Usage Report禁用2026-10-18
压力测试2026-10-16
税务学习记录2026-10-13
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
常用 处理大数组 客户端 乌龟 不准 一键安装 laya 时间格式化的方式 微信支付 对象唯一id 移动端上传 解析字符串 过滤目录和子目录下 开启报错 恋爱 自建vpn WSL2 对话的 恢复 dl 函数 go 大量bug记录 补充 apache2.4 禁止 借助云服务 数据类型 mysql_fetch_array Tue Sep 18 2018 08:00:00 GMT+0800 (China Standard Time) 性能差异 max current_user_can wsl gs mysql 不装逼 女人 正确方法 docker
归档
  • 十一月 2026 1
  • 十月 2026 9
  • 八月 2026 1
  • 六月 2026 2
  • 五月 2026 1
  • 四月 2026 2
  • 三月 2026 3
  • 二月 2026 5
网站信息
文章数目 :
1035
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.2|主题 Butterfly 5.7.0
搜索
数据加载中