01 2020 档案
摘要:1. 核心包安装 yarn add react-navigation 2.安装依赖(前几个官方推荐,最后一个是我app.js里头路由需要的模块) yarn add react-native-reanimated react-native-gesture-handler react-native-sc
阅读全文
摘要:1.选择debug 2.在谷歌浏览器里打开:http://localhost:8081/debugger-ui/,可看到控制台打印得东西 3.为看到界面布局(Chrome 中并不能直接看到 App 的用户界面,而只能提供 console 的输出,以及在 sources 项中断点调试 js 脚本。)
阅读全文
摘要:1.安装路由依赖react-navigation npm install react-navigation@3.11.0 2.添加手势库 react-native-gesture-handler 组件, npm install --save react-native-gesture-handler
阅读全文
摘要:详情参考:https://blog.csdn.net/qq_41391628/article/details/87383378 注意: 1.虚拟化必须打开(即将bios中的virtualization technology改为enable),若不成功,原因: (1)360核晶需关闭 (2)type-
阅读全文
摘要:1,安装 npm install vue-print-nb --save 2,引入 安装好以后在main.js文件中引入 import Print from 'vue-print-nb' Vue.use(Print); //注册 3,现在就可以使用了 <div id="printTest" > <p
阅读全文
摘要:1.装依赖 npm install xlsx --savenpm install file-saver --save 2.组件中引入 import FileSaver from 'file-saver' import XLSX from 'xlsx'3.下载表格 //导出Excel exportTo
阅读全文