06 2018 档案

摘要:跨域特性: 根据特性一解决: 或者 就可以了 JSONP(JSON with Padding): 浏览器会不当做xhr请求不做校验 阅读全文
posted @ 2018-06-30 01:21 miaomiaotab 阅读(122) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-06-28 20:03 miaomiaotab 阅读(0) 评论(0) 推荐(0)
摘要:13 class和module ①export和import profile.js 引用 ②给export的属性或方法使用默认名称: 引用 ③模块继承 circleplus.js main.js 而ES6模块输出的是值的引用 12 promise 基本用法 链式操作:返回新的Promise对象,后一 阅读全文
posted @ 2018-06-28 01:14 miaomiaotab 阅读(202) 评论(0) 推荐(0)
摘要:/*************** * Aggregation * ***************/ -- Find minimum msrp of all products select min(msrp) from product; -- Find maximum msrp of all products select max(msrp) from product; -- Top ... 阅读全文
posted @ 2018-06-27 23:45 miaomiaotab 阅读(250) 评论(0) 推荐(0)
摘要:/*************** * join tables * ***************/ -- list all sales for FLEX and BLAZE; select * from product; select * from sales; -- what happens without a.product_id=b.product_id; -- use table... 阅读全文
posted @ 2018-06-27 22:55 miaomiaotab 阅读(137) 评论(0) 推荐(0)
摘要:USE fitbit_new; insert into product (product_id, code, name, color, class, msrp) values (5, 'np1', 'new product 1', 'PINK','EVERYDAY', 49), (6, 'np2', 'new product 2', 'PINK','EVERYDAY', 29), (7, 'n... 阅读全文
posted @ 2018-06-27 17:09 miaomiaotab 阅读(200) 评论(0) 推荐(0)
摘要:/*************************************** * DDL: Create Database * ***************************************/ -- drop existing database if exists; DROP DATABASE IF EXISTS fitbit_new;... 阅读全文
posted @ 2018-06-27 16:15 miaomiaotab 阅读(1736) 评论(0) 推荐(0)
摘要:模板字符串 变量和函数作为属性和方法 新的原始数据类型Symbol,产生一个独一无二的值,不可能相等 阅读全文
posted @ 2018-06-26 15:36 miaomiaotab 阅读(138) 评论(0) 推荐(0)
摘要:果然解决问题了 Mysql 安装时报错: 无法定位程序输入点fesetround于动态链接库MSVCR120.dll上 解决方法:下载 Microsoft Visual C++ 2013 Redistributable Package 安装 https://support.microsoft.com 阅读全文
posted @ 2018-06-26 15:15 miaomiaotab 阅读(2481) 评论(0) 推荐(0)
摘要:软件名称及版本:mysql-installer-community-5.7.20.0 https://dev.mysql.com/downloads/windows/installer/ 是可以同时支持32位和64位系统的 软件名称及版本:mysql-installer-community-5.7. 阅读全文
posted @ 2018-06-26 01:35 miaomiaotab 阅读(166) 评论(0) 推荐(0)
摘要:在app.js加入下面数据显示的效果 可以看出切换页面不会发生生命周期变化 点进来先onLaunch,然后onShow,退出onHide,再进onShow 阅读全文
posted @ 2018-06-24 22:50 miaomiaotab 阅读(230) 评论(0) 推荐(0)
摘要:改了路径之后才生效 阅读全文
posted @ 2018-06-24 17:06 miaomiaotab 阅读(2367) 评论(0) 推荐(1)
摘要:app.json 阅读全文
posted @ 2018-06-24 16:40 miaomiaotab 阅读(512) 评论(0) 推荐(0)
摘要:前端: 后台 访问url: 'https://ic3pihrg.qcloud.la/getData' 访问url: 'https://ic3pihrg.qcloud.la/getData' <?php defined('BASEPATH') OR exit('No direct script acc 阅读全文
posted @ 2018-06-24 07:24 miaomiaotab 阅读(278) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-06-24 06:32 miaomiaotab 阅读(280) 评论(0) 推荐(0)
摘要:在server底下建目录和文件夹,把数据考进去 先上传才能访问o(╥﹏╥)o 阅读全文
posted @ 2018-06-24 05:34 miaomiaotab 阅读(280) 评论(0) 推荐(0)
摘要:点详情,看到腾讯云状态:未开通开发环境,要先上传 生成代码后,点击上传 改成测试版本后,点腾讯云--上传测试代码 上传之后终于有了!!! 已开通开发环境~ 开发环境request域名,拷贝覆盖host 然后开发环境出来了 https://console.qcloud.com/lav2/dev htt 阅读全文
posted @ 2018-06-24 04:25 miaomiaotab 阅读(321) 评论(0) 推荐(0)
摘要:绑定后台之前要开通腾讯云 后台申请开通腾讯云 配置腾讯云 新建后端项目 测试代码 https://mp.weixin.qq.com/wxopen/thirdtools?action=index&token=1185593119&lang=zh_CN 选择开发者工具-> 腾讯云 开发者授权腾讯云? 微 阅读全文
posted @ 2018-06-24 02:51 miaomiaotab 阅读(749) 评论(0) 推荐(0)
摘要:{{item.str}} ... 阅读全文
posted @ 2018-06-24 02:48 miaomiaotab 阅读(504) 评论(0) 推荐(0)
摘要:https://developers.weixin.qq.com/miniprogram/dev/framework/config.html 阅读全文
posted @ 2018-06-23 21:21 miaomiaotab 阅读(156) 评论(0) 推荐(0)
摘要:设置名称获得appid,新建项目填入appid,可获得更完整功能 阅读全文
posted @ 2018-06-23 20:52 miaomiaotab 阅读(630) 评论(0) 推荐(0)
摘要:app.json 阅读全文
posted @ 2018-06-23 20:00 miaomiaotab 阅读(216) 评论(0) 推荐(0)
摘要://index.js //获取应用实例 const app = getApp() Page({ data: { } }) /**index.wxss**/ .container { height: 100%; display: flex; flex-direction: column; align-items: center; jus... 阅读全文
posted @ 2018-06-23 19:20 miaomiaotab 阅读(220) 评论(0) 推荐(0)
摘要:首先注册 072592124mm@sohu.com https://developers.weixin.qq.com/miniprogram/dev/index.html 开发环境 https://mp.weixin.qq.com/wxopen/initprofile?action=home&lan 阅读全文
posted @ 2018-06-23 19:15 miaomiaotab 阅读(200) 评论(0) 推荐(0)
摘要:这篇文章只是关注如何让Eclipse运行得更快。每个技巧都针对Windows、Linux和MacOS用户详细说明。在使用所有优化技巧之后,Eclipse应该能在10秒内启动,并且比以前运行得更流畅。 大约一个月前,我发表了一篇博客,其中介绍了对Eclipse的爱与恨。 有些人问我如何给Eclipse 阅读全文
posted @ 2018-06-20 15:40 miaomiaotab 阅读(2127) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/hemi1995/p/9195739.html 1 年经验 Java 求职面试题 从 17 年的大三暑假就在这家公司实习转正,在这家公司呆了快2年了,随着公司新一轮的融资,看起来公司离上市更近了一步,但期权池也进一步稀释,没有期权的我感觉回报更少了,另 阅读全文
posted @ 2018-06-18 21:46 miaomiaotab 阅读(226) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-06-16 22:09 miaomiaotab 阅读(0) 评论(0) 推荐(0)
摘要:接口 http://localhost:8080/api/gdadmin/monitoringData/page/list?monitoringId=3141592653589&monitoringDate=2018-06-13+17:38:19 获取list并且渲染 阅读全文
posted @ 2018-06-13 17:43 miaomiaotab 阅读(309) 评论(0) 推荐(0)
摘要:setNowFormatDate() { let date = new Date(); let month = (date.getMonth() + 1).toString().padStart(2,'0'); let strDate = date.getDate().toString().padStart(2,'0'); //时间格式yy... 阅读全文
posted @ 2018-06-13 17:38 miaomiaotab 阅读(5255) 评论(0) 推荐(0)
摘要:作用是消除该行往下的部分 阅读全文
posted @ 2018-06-13 01:52 miaomiaotab 阅读(784) 评论(0) 推荐(0)
摘要:网上看到的,太丑陋了new Function可以参考参考: 项目中写的代码: 附上赵偶像和阮偶像的连接 http://www.ruanyifeng.com/blog/2017/02/fp-tutorial.html http://blog.zhaojie.me/2012/08/js-code-fro 阅读全文
posted @ 2018-06-13 01:47 miaomiaotab 阅读(788) 评论(0) 推荐(0)
摘要:// 替换页面元素 addItem () { Vue.set(this.list2, 0, { zy: '商标', gz: 20000 }) } 阅读全文
posted @ 2018-06-12 00:19 miaomiaotab 阅读(1173) 评论(0) 推荐(0)
摘要:想要获取json-server的服务接口 D:\workspace\xxx\config\index.js 这部分忽略掉。。 jsonApiServer.use('api', jsonApiRouter) 控制台调试 node D:\workspace\xxx\build\dev-server.js 阅读全文
posted @ 2018-06-11 22:51 miaomiaotab 阅读(212) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/aldridge1/article/details/26047721 阅读全文
posted @ 2018-06-11 22:21 miaomiaotab 阅读(109) 评论(0) 推荐(0)
摘要:在后台还没给接口之前,使用JSON-Server搭建一台JSON服务器,将接口要返回的数据放在json文件里面。然后请求这些数据,这样我们可以先做一些东西,等后台接口好了之后直接替换就可以了,不必一直傻傻的等后端的接口。 1.安装json-server 2.启动服务 D:\workspace\xxx 阅读全文
posted @ 2018-06-11 22:09 miaomiaotab 阅读(590) 评论(0) 推荐(0)
摘要:安装: 配置 D:\workspace\xxx\build\dev-server.js D:\workspace\xxx\db.json https://github.com/miaomiaotab/json-server 下面这两个文件夹项目生成是没有的,我自己拷贝过来的: D:\workspac 阅读全文
posted @ 2018-06-10 23:42 miaomiaotab 阅读(488) 评论(0) 推荐(0)
摘要:注册 使用 两个例子: 阅读全文
posted @ 2018-06-10 20:49 miaomiaotab 阅读(157) 评论(0) 推荐(0)
摘要:登录 | 注册 | 关于 ... 阅读全文
posted @ 2018-06-10 18:35 miaomiaotab 阅读(915) 评论(0) 推荐(0)
摘要:利用HTML和CSS实现常见的布局 单列布局 水平居中 水平居中的页面布局中最为常见的一种布局形式,多出现于标题,以及内容区域的组织形式,下面介绍四种实现水平居中的方法(注:下面各个实例中实现的是child元素的对齐操作,child元素的父容器是parent元素) 使用inline-block 和 阅读全文
posted @ 2018-06-10 18:30 miaomiaotab 阅读(277) 评论(0) 推荐(0)
摘要:https://meyerweb.com/eric/tools/css/reset/ https://blog.csdn.net/suejun/article/details/73302923 重置css样式: 阅读全文
posted @ 2018-06-10 17:15 miaomiaotab 阅读(181) 评论(0) 推荐(0)
摘要:D:\workspace\xxx\src\main.js D:\workspace\xxx\src\components\layout.vue 阅读全文
posted @ 2018-06-10 17:11 miaomiaotab 阅读(252) 评论(0) 推荐(0)
摘要:接上文 一个简单的例子 vux mutation改变状态 D:\workspace\xxx\src\main.js 定义actions D:\workspace\xxx\src\components\Apple.vue 就可以使用用.dispatch('increase', this.price)方 阅读全文
posted @ 2018-06-10 16:32 miaomiaotab 阅读(324) 评论(0) 推荐(0)
摘要:D:\workspace\xxx\src\main.js 引用、注册、定义state、mutations D:\workspace\xxx\src\App.vue computed计算并呈现结果(show) D:\workspace\xxx\src\components\Apple.vue 调用mu 阅读全文
posted @ 2018-06-10 16:16 miaomiaotab 阅读(767) 评论(0) 推荐(0)
摘要:错误代码 正确代码: 分析:构造器写法写错了应该是new Vuex.Store({}) 下面请忽略。。 let store = new Vuex({ state: { totalPrice: 0 }, mutations: { increment (state, price) { state.tot 阅读全文
posted @ 2018-06-10 16:03 miaomiaotab 阅读(5948) 评论(0) 推荐(0)
摘要:D:\workspace\xxx\src\main.js D:\workspace\xxx\src\App.vue D:\workspace\xxx\src\components\Apple.vue D:\workspace\xxx\src\components\Banana.vue D:\work 阅读全文
posted @ 2018-06-10 14:32 miaomiaotab 阅读(951) 评论(0) 推荐(0)
摘要:D:\workspace\xxx\src\main.js 使用 阅读全文
posted @ 2018-06-10 14:22 miaomiaotab 阅读(241) 评论(0) 推荐(0)
摘要:安装vue-router模块 使用vue-router前要先安装vue-router库 使用vue-router vue-router有三个要素:路由map 路由视图 路由导航。路由map指路由与组件的映射关系;路由视图指路由映射对应组件的渲染位置;路由导航指可以使地址栏发生变化的导航链接。一、路由 阅读全文
posted @ 2018-06-10 13:57 miaomiaotab 阅读(844) 评论(0) 推荐(0)
摘要:router-link-active router-link-exact-active router-link-active TO DO 阅读全文
posted @ 2018-06-10 13:53 miaomiaotab 阅读(460) 评论(0) 推荐(0)
摘要:<!-- 当前目录 --> <router-link to="apple">to apple</router-link> <!-- 根目录 --> <router-link to="/apple">to apple</router-link> <!-- 当前目录 --> <router-link t 阅读全文
posted @ 2018-06-10 13:31 miaomiaotab 阅读(385) 评论(0) 推荐(0)
摘要:可以看到这段源代码 D:\workspace\xxx\node_modules\vue-router\types\router.d.ts 阅读全文
posted @ 2018-06-10 11:48 miaomiaotab 阅读(567) 评论(0) 推荐(0)
摘要:D:\workspace\xxx\index.html 没动过 D:\workspace\xxx\src\main.js D:\workspace\xxx\src\App.vue D:\workspace\xxx\src\components\Apple.vue D:\workspace\xxx\s 阅读全文
posted @ 2018-06-10 11:38 miaomiaotab 阅读(205) 评论(0) 推荐(0)
摘要:错误代码 D:\workspace\xxx\src\main.js 正确代码1 正确代码2 错误分析: router才是合法参数,缩写的时候要注意。 另外 path: './apple', 应该是path: '/apple' 阅读全文
posted @ 2018-06-10 11:07 miaomiaotab 阅读(2103) 评论(0) 推荐(0)
摘要:瞎找了一天都没找到问题所在(问题代码) f分割线 app.vue 正确代码 原来是小写的问题,el: '#app',id为app的元素,这个a字母是小写的!!!!!!! main.js 正确代码 components\Apple.vue router\index.js 阅读全文
posted @ 2018-06-10 10:49 miaomiaotab 阅读(11599) 评论(0) 推荐(0)
摘要:嵌套路由和嵌套组件之间的匹配是个很常见的需求,使用 vue-router 可以很简单的完成这点。 假设我们有如下一个应用: <router-view> 是一个顶级的外链。它会渲染一个和顶级路由匹配的组件: 同样的,组件内部也可以包含自己的外链,嵌套的 <router-view> 。例如,如果我们在组 阅读全文
posted @ 2018-06-09 17:31 miaomiaotab 阅读(177) 评论(0) 推荐(0)
摘要:全局配置 debug delimiters unsafeDelimiters silent async devtools 全局 API Vue.extend Vue.nextTick Vue.set Vue.delete Vue.directive Vue.elementDirective Vue. 阅读全文
posted @ 2018-06-09 17:21 miaomiaotab 阅读(257) 评论(0) 推荐(0)
摘要:上面这样会报错 改成下面这样就好了 或者加一行注释 阅读全文
posted @ 2018-06-09 13:44 miaomiaotab 阅读(1034) 评论(0) 推荐(0)
摘要:npm install vue-cli -g vue init webpack project_name cd project_name npm install npm run dev npm run build 阅读全文
posted @ 2018-06-09 10:52 miaomiaotab 阅读(159) 评论(0) 推荐(0)
摘要:这是因为为IDEA分配的堆太小了。 打开文件idea.exe.vmoptions,修改里面的-Xms(初始堆大小)和-Xmx(最大堆大小)属性,比如像下面: -Xms1024m -Xmx2048m 阅读全文
posted @ 2018-06-08 09:28 miaomiaotab 阅读(357) 评论(0) 推荐(0)
摘要:/** * Created by mcmctb on 2018/6/7 13:14 */ @RestController @RequestMapping("region") @CheckClientToken @CheckUserToken public class RegionController extends BaseController{ @RequestMapping(va... 阅读全文
posted @ 2018-06-07 17:08 miaomiaotab 阅读(427) 评论(0) 推荐(0)
摘要:行政区域表 添加列 阅读全文
posted @ 2018-06-07 15:24 miaomiaotab 阅读(203) 评论(0) 推荐(0)
摘要:ALTER TABLE `base_region` ADD UNIQUE u_name_type (`region_name`,`region_type`); 阅读全文
posted @ 2018-06-07 11:40 miaomiaotab 阅读(274) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-06-07 00:01 miaomiaotab 阅读(186) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/liyujun1988/p/7078235.html Vue2.0入门实例注意事项 由于 vue2.0 导致其他相关编译打包工具没更新导致 解决办法: 请运行以下命令 1 npm update -g 报错 1 2 3 4 5 6 7 8 Error: 阅读全文
posted @ 2018-06-05 00:07 miaomiaotab 阅读(288) 评论(0) 推荐(0)
摘要:一个一个的效果 <el-table :key='tableKey' :data="attrList" :show-header="false" v-loading.body="listLoading" border fit highlight-current-row> <el-table-colum 阅读全文
posted @ 2018-06-04 14:17 miaomiaotab 阅读(466) 评论(0) 推荐(0)
摘要:变异方法 Vue 包含一组观察数组的变异方法,所以它们也将会触发视图更新。这些方法如下: push() pop() shift() unshift() splice() sort() reverse() 你打开控制台,然后用前面例子的 items 数组调用变异方法:example1.items.pu 阅读全文
posted @ 2018-06-04 13:16 miaomiaotab 阅读(283) 评论(0) 推荐(0)
摘要:utils\ResultVOUtil.java 应用: controller\BuyerProductController.java 阅读全文
posted @ 2018-06-03 03:26 miaomiaotab 阅读(283) 评论(0) 推荐(0)
摘要:controller\BuyerProductController.java 阅读全文
posted @ 2018-06-03 03:21 miaomiaotab 阅读(592) 评论(0) 推荐(0)
摘要:enums\CodeEnums.java 使用 dataobject\OrderMaster.java 阅读全文
posted @ 2018-06-03 03:11 miaomiaotab 阅读(325) 评论(0) 推荐(0)
摘要:dataobject dao viewobject vo 阅读全文
posted @ 2018-06-03 03:08 miaomiaotab 阅读(124) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_27435059/article/details/52494623 1.连接数据库 (1)按下图 , 点击view 选择tool windows 选择database并点击 (2)弹出Database窗口,点击加号 选择data source 选择想 阅读全文
posted @ 2018-06-02 21:55 miaomiaotab 阅读(774) 评论(0) 推荐(0)
摘要:view-tool windows-datasource 选择mysql 我现在用的数据库名为mars 阅读全文
posted @ 2018-06-02 21:26 miaomiaotab 阅读(292) 评论(0) 推荐(0)
摘要:首先看看下载地址: 可以看到下载id从42895到42887,所以只需要按需输入地址就行了,适合打不开地址 http://plugins.jetbrains.com/plugin/6317-lombok-plugin 的情况 下载好几个版本疯狂提示不匹配,认真看一下版本如下: 上图可以看到IDEA版 阅读全文
posted @ 2018-06-02 17:24 miaomiaotab 阅读(570) 评论(0) 推荐(0)
摘要:File->Settings->File and Code Templates(IDEA14)->Include->File Header: 定位到Editor > Colors & Fonts界面,在 Windows 系统上 IntelliJ IDEA 默认提供两个编辑区主题,分别为:Defaul 阅读全文
posted @ 2018-06-02 11:33 miaomiaotab 阅读(627) 评论(0) 推荐(0)
摘要:application.yml 阅读全文
posted @ 2018-06-02 10:48 miaomiaotab 阅读(144) 评论(0) 推荐(0)