上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页
摘要: 1.环境切换 API_ROOT: '"http://192.168.1.145:92"' const rootUrl = process.env.API_ROOT 2.打包服务器配置 先安装generate-asset-webpack-plugin插件 npm install --save-dev 阅读全文
posted @ 2020-06-18 16:07 青竹玉简 阅读(580) 评论(0) 推荐(0) 编辑
摘要: 一、开发环境中跨域 使用 Vue-cli 创建的项目,开发地址是 localhost:8080,需要访问非本机上的接口http://10.1.0.34:8000/queryRole。不同域名之间的访问,需要跨域才能正确请求。跨域的方法很多,通常都需要后台配置,不过 Vue-cli 创建的项目,可以直 阅读全文
posted @ 2020-06-17 15:51 青竹玉简 阅读(1361) 评论(0) 推荐(0) 编辑
摘要: <router-view />下面增加一个<div style="height: 5rem;"></div> 参考 <template> <div id="app"> <router-view /> <div style="height: 5rem;"></div> </div> </templat 阅读全文
posted @ 2020-06-03 11:25 青竹玉简 阅读(2043) 评论(0) 推荐(0) 编辑
摘要: 'indent': ['off', 2] 阅读全文
posted @ 2020-06-03 11:23 青竹玉简 阅读(4235) 评论(0) 推荐(0) 编辑
摘要: 1.git init //初始git 2.git clone http://xxxx/vosa-element-config.git //克隆项目 3.git remote add origin http:/xxxx/vosa-element-config.git //连接远程项目 4.git br 阅读全文
posted @ 2020-05-29 17:43 青竹玉简 阅读(3475) 评论(0) 推荐(0) 编辑
摘要: public class MyApplication extends Application { public static MyApplication INSTANCE; @Override public void onCreate() { super.onCreate(); INSTANCE = 阅读全文
posted @ 2020-05-29 16:06 青竹玉简 阅读(1567) 评论(0) 推荐(0) 编辑
摘要: 方法一 Intent intent = new Intent(A.this,B.class); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent 阅读全文
posted @ 2020-05-29 14:33 青竹玉简 阅读(529) 评论(0) 推荐(0) 编辑
摘要: vue项目构建 预备 vue中文文档: https://cn.vuejs.org/v2/guide/instance.html 构建工具环境nodejs: http://nodejs.cn 构建工具vue-cli:https://github.com/vuejs/vue-cli 如果是第一次接触vu 阅读全文
posted @ 2020-05-26 16:30 青竹玉简 阅读(2821) 评论(0) 推荐(0) 编辑
摘要: 一.Mint UI 流行指数:★★★★ Mint UI是 饿了么团队开发基于vue .js的移动端UI框架,它包含丰富的 CSS 和 JS 组件,能够满足日常的移动端开发需要。 官网:https://mint-ui.github.io/#!/zh-cn Github:https://github.c 阅读全文
posted @ 2020-05-26 16:18 青竹玉简 阅读(3808) 评论(0) 推荐(0) 编辑
摘要: server { listen 86; server_name localhost; client_max_body_size 500m; location / { proxy_pass http://192.168.1.145:8080; } location ^~ /api { proxy_pa 阅读全文
posted @ 2020-05-22 17:31 青竹玉简 阅读(889) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页