06 2023 档案
摘要:1.一个npm包引起的问题 在node.8.9环境下,image-webpack-loader,这个东西,又问题。 导致,无法builder。
阅读全文
摘要:### 生成文件 控制器名 cms/Xxx 模型名 cms/Xxx ### 生成菜单 找到控制器,一键生成 ### 导入的注意事项 1.另存为csv格式 用csv导 2.字段名,对应上 3.可以在import控制器里,进行数据校验 4.安装 **fileinfo**扩展 5.关于文本和科学计数法的处
阅读全文
摘要:
阅读全文
摘要:###uniapp全局禁止侧滑 首先找到并打开“manifest.json”,然后配置内容为“"popGesture": "none"”即可禁止响应左滑动画。 ``` "plus": { //uni-app项目对应节点名称为"app-plus" "popGesture": "none" } ```
阅读全文
摘要:###1.在command下创建CompressImg.php文件 ``` * O(∩_∩)O * Date: 2022-7-7 09:34:38 */ namespace app\command; use think\Image; use think\image\Exception; use th
阅读全文
摘要:``` import React, { useEffect } from 'react' import { observer } from 'mobx-react' import { get } from 'lodash' import { Modal } from 'antd' import Se
阅读全文
摘要:### 校验函数 ```PHP //验证身份证是否有效 function validateIDCard($IDCard) { if (strlen($IDCard) == 18) { return check18IDCard($IDCard); } elseif ((strlen($IDCard)
阅读全文
摘要:### 请求 ``` const handldeComfirmTermwork = async (params) => { // async 异步函数标识 try { //捕获错误信息 const { id, sid, label } = params // 解构赋值 const res = awa
阅读全文
摘要:### 横向菜单 ### 侧边导航 ### 菜单高亮 ### 路由匹配 ### layout布局 ### tab布局,或者 radio布局
阅读全文
摘要:非常感谢您的指正和提醒,我的回答中使用了 arguments 对象,而这不是一个好的实践。可以使用 ES6 的剩余参数(rest parameters)来代替 arguments 对象。 以下是使用剩余参数替换 arguments 对象的示例代码: ``` import React from 're
阅读全文