11 2020 档案

摘要:<script> export default { onLaunch: function() { console.log('App Launch'); plus.screen.lockOrientation('landscape-primary'); //锁定 }, onShow: function 阅读全文
posted @ 2020-11-27 15:39 三线码工 阅读(3065) 评论(0) 推荐(0) 编辑
摘要:1.安装element UI npm i element-ui -S 在main.js 中 引入element import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' Vue.use(Eleme 阅读全文
posted @ 2020-11-26 22:08 三线码工 阅读(477) 评论(0) 推荐(0) 编辑
摘要:"app-plus": {"titleNView": false} 将所有的顶部导航条去掉 "style":{ "app-plus":{ "titleNView":false } } 单页面去除导航条 阅读全文
posted @ 2020-11-26 14:33 三线码工 阅读(473) 评论(0) 推荐(0) 编辑
摘要:在项目中打开cmd窗口 npm init -y 根目录会多出一个 package.json 文件。 如果想要使用微信的jssdk包直接下载就可以了 npm install weixin-js-sdk --save-dev 安装完成后,根目录会多出一个 node_modules 文件夹 阅读全文
posted @ 2020-11-26 14:24 三线码工 阅读(3878) 评论(0) 推荐(0) 编辑
摘要:首先安装git,选择版本进行安装。推荐使用淘宝镜像安装 https://npm.taobao.org/mirrors/git-for-windows/ 接下来注册码云账号。。。。。 刚注册的账号需要有shh公钥 https://gitee.com/help/articles/4181#article 阅读全文
posted @ 2020-11-24 20:49 三线码工 阅读(1358) 评论(0) 推荐(0) 编辑
摘要:都是处理异步请求的 // 申明一个异步方法 async function testAsync() { return "hello async"; } const result = testAsync(); console.log(result); // 输出 Promise 对象。async 函数会 阅读全文
posted @ 2020-11-21 16:55 三线码工 阅读(453) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示