11 2020 档案
摘要:<script> export default { onLaunch: function() { console.log('App Launch'); plus.screen.lockOrientation('landscape-primary'); //锁定 }, onShow: function
阅读全文
摘要: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
阅读全文
摘要:"app-plus": {"titleNView": false} 将所有的顶部导航条去掉 "style":{ "app-plus":{ "titleNView":false } } 单页面去除导航条
阅读全文
摘要:在项目中打开cmd窗口 npm init -y 根目录会多出一个 package.json 文件。 如果想要使用微信的jssdk包直接下载就可以了 npm install weixin-js-sdk --save-dev 安装完成后,根目录会多出一个 node_modules 文件夹
阅读全文
摘要:首先安装git,选择版本进行安装。推荐使用淘宝镜像安装 https://npm.taobao.org/mirrors/git-for-windows/ 接下来注册码云账号。。。。。 刚注册的账号需要有shh公钥 https://gitee.com/help/articles/4181#article
阅读全文
摘要:都是处理异步请求的 // 申明一个异步方法 async function testAsync() { return "hello async"; } const result = testAsync(); console.log(result); // 输出 Promise 对象。async 函数会
阅读全文