会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
张%sir
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
上一页
1
2
3
2018年7月18日
ext笔记
摘要: 命名 The top-level namespaces and the actual class names should be CamelCased. Everything else should be all lower-cased. For example:MyCompany.form.act
阅读全文
posted @ 2018-07-18 11:40 张%sir
阅读(99)
评论(0)
推荐(0)
编辑
EXTJS中文乱码
摘要: 在<head>中加入
阅读全文
posted @ 2018-07-18 08:45 张%sir
阅读(110)
评论(0)
推荐(0)
编辑
2018年7月15日
Yii框架
摘要: 安装: 配置cookievalidationkey,为了防止cookie攻击,随便配置一个值 'cookieValidationKey' => 'aaa', 命名空间: 没有命名空间namespace的类是全局类,重命名相同类用as 访问全局类 访问 控制层以controller结尾,方法以acti
阅读全文
posted @ 2018-07-15 10:41 张%sir
阅读(184)
评论(0)
推荐(0)
编辑
vue vuex
摘要: 安装:npm install --save vuex在mian.js中import Vuex from 'vuex';Vue.use(Vuex);import store from './store/index';在new Vue({ })中加入 store:store, //注入到vue 在src
阅读全文
posted @ 2018-07-15 10:23 张%sir
阅读(107)
评论(0)
推荐(0)
编辑
vue引用文件
摘要: 1)css引入在vue页面中<style scoped> @import url("../assets/css/home.css");</style>2)js引入js文件home.jsvar listobj={ getdata:function(_this){ _this.$router.push(
阅读全文
posted @ 2018-07-15 10:23 张%sir
阅读(186)
评论(0)
推荐(0)
编辑
vue-resource
摘要: 安装npm install vue-resource引入import VueResource from 'vue-resource';Vue.use(VueResource);使用get方法this.$http.get("http://localhost/test.php").then( funct
阅读全文
posted @ 2018-07-15 10:22 张%sir
阅读(85)
评论(0)
推荐(0)
编辑
vue axios
摘要: 安装:npm install axios引用:在mian.js中import axios from 'axios';axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';Vue.protot
阅读全文
posted @ 2018-07-15 10:21 张%sir
阅读(79)
评论(0)
推荐(0)
编辑
vue-wechat-title
摘要: html中的title安装:npm install vue-wechat-title --save1.在mian.js中//网页titleimport VueTitle from 'vue-wechat-title' Vue.use(VueTitle);2. 路由中加下 title { path:
阅读全文
posted @ 2018-07-15 10:19 张%sir
阅读(718)
评论(0)
推荐(0)
编辑
vue安装
摘要: 1)安装node.js环境:node.js从node.js官网下载并安装node,安装过程很简单,一直点下一步就ok了验证是否安装成功:node -v npm -v --安装cnpm 在命令行中输入 npm install -g cnpm --registry=http://registry.npm
阅读全文
posted @ 2018-07-15 10:14 张%sir
阅读(97)
评论(0)
推荐(0)
编辑
上一页
1
2
3