上一页 1 2 3 4 5 6 7 8 9 10 ··· 31 下一页
摘要: npm包 - 发布vue组件 一. 环境准备 npm install -g @vue/cli 二. 创建项目 vue create vue-page-card-drag 本文使用vue2 打开package.json,在rules下添加 "no-unused-vars": "off" 三. 开发组件 阅读全文
posted @ 2024-05-16 20:25 无心々菜 阅读(122) 评论(0) 推荐(0)
摘要: APP - 签名打包布发布 1. 生成密钥库文件 打开项目,进入 android 文件夹目录,使用控制台执行命令,文中测试密钥使用:123456 keytool -genkey -v -keystore awerncd-release-key.keystore -alias awerncd-rele 阅读全文
posted @ 2024-05-14 09:50 无心々菜 阅读(44) 评论(0) 推荐(0)
摘要: APP - React Native调试 注意:app名称 应为英文,中文APP会闪退. 一、模拟器调试 我们在ios模拟器上按快捷键 command + D,安卓模拟器上按快捷⌘ + m,即可弹出如下调试菜单。下面分别介绍菜单中的各个调试功能。 或:设置 ->关于手机 -> 连续点击版本号字样,会 阅读全文
posted @ 2024-05-13 10:01 无心々菜 阅读(118) 评论(0) 推荐(0)
摘要: APP - React Native - 热更新(React-native-code-push) 参考文档:https://learn.microsoft.com/zh-cn/appcenter/distribution/codepush/ 1. 创建项目 参考:https://www.cnblog 阅读全文
posted @ 2024-05-11 10:17 无心々菜 阅读(280) 评论(0) 推荐(0)
摘要: APP - React Native搭建APP项目 官方网站:https://www.reactnative.cn/docs/environment-setup 注:安装过程中需FQ,可使用:www.maomi.shop 一 . 安装环境 安装nvm - node 21.1 nvm安装:https: 阅读全文
posted @ 2024-05-11 09:48 无心々菜 阅读(58) 评论(0) 推荐(0)
摘要: NETCORE - 全局异常处理(Exception) 环境:.net6 创建异常中间件:ExceptionHandlingMiddleware.cs using Microsoft.AspNetCore.Http; using System; using System.Collections.Ge 阅读全文
posted @ 2024-04-23 09:33 无心々菜 阅读(165) 评论(0) 推荐(0)
摘要: VUE - 使用h函数创建虚拟节点 1. 如在 antd 的 notification 组件中使用 参考文档:https://1x.antdv.com/components/notification-cn/ let h = this.$createElement; that.$notificatio 阅读全文
posted @ 2024-04-11 09:51 无心々菜 阅读(151) 评论(0) 推荐(0)
摘要: VUE - 给node_modules添加本地模块link 以o.js 为例。 一. 准备工作 1. 下载 o.js ,把插件包下载到 node_modules 下 yarn add o.js 2. package.json 中,删除 o.js 配置行 二. 添加本地模块 1. 在项目根目录下创建  阅读全文
posted @ 2024-04-10 11:07 无心々菜 阅读(375) 评论(0) 推荐(0)
摘要: VUE - bigint解决前端精度丢失的问题 问题描述 java后端long类型的范围 -2^63~2^63,即:-9223372036854775808~9223372036854775807,它是19位的。 这个数字可以通过方法获得:Long.MAX_VALUE、Long_MIN_VALUE。 阅读全文
posted @ 2024-04-09 11:31 无心々菜 阅读(1392) 评论(0) 推荐(0)
摘要: VUE - vuex存储管理 1. 安装插件 yarn add vuex 2. 创建存储文件 在src目录下,创建 store 文件夹,创建 index.js import Vue from "vue"; import Vuex from "vuex"; Vue.use(Vuex); export 阅读全文
posted @ 2024-04-09 09:01 无心々菜 阅读(27) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 31 下一页