会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
konge!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2019年11月21日
vue关于样式的绑定
摘要: 也就通过这种方式 <div id="app"> <p @click="flag=1" v-bind:class="{active:flag==1}">html</p> <p @click="flag=2" v-bind:class="{active:flag==2}">css</p> <p @cli
阅读全文
posted @ 2019-11-21 15:41 konge!
阅读(233)
评论(0)
推荐(0)
2019年11月19日
vue插口
摘要: vue当中的插槽,指的即是slot,是组件当中的一块HTML模板。该模板是否显示,以及如何显示由其父组件说了算。不过插槽显示的位置是由子组件决定 ,你将slot写在组件template的哪块,父组件传过来的模板将来就显示在哪块! <!DOCTYPE html> <html lang="en"> <h
阅读全文
posted @ 2019-11-19 12:01 konge!
阅读(241)
评论(0)
推荐(0)
2019年11月15日
vue组件 父子 通讯
摘要: 基本操作: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="../../js/vue.js"></script> </head> <body> <div
阅读全文
posted @ 2019-11-15 17:48 konge!
阅读(177)
评论(0)
推荐(0)
2019年11月13日
vue实现翻页功能加高阶函数加购物车
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="../../js/vue.js"></script> </head> <body> <div id="ap
阅读全文
posted @ 2019-11-13 18:30 konge!
阅读(516)
评论(0)
推荐(0)
2019年11月12日
vue指令
摘要: <!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/html" xmlns:v-bind="http://www.w3.org/1999/xhtml"> <head> <meta charset="UTF-8"> <title>
阅读全文
posted @ 2019-11-12 17:12 konge!
阅读(126)
评论(0)
推荐(0)
vue 错误记录
摘要: Vue is not defined 这里报错 const app=new Vue({ el:'#app1', data:{ message:'show', movies:['盗梦空间','修罗海盗','教父'] } }) 原来是我的 引入vue文件 的 <script src="../../js/
阅读全文
posted @ 2019-11-12 00:09 konge!
阅读(213)
评论(0)
推荐(0)
2019年11月11日
vue创建项目
摘要: 第一步下载vscode,node.js 第二步全局安装手脚架 npm install -g vue-cli //全局安装vue-cli 第三进入文件 夹 然后 vue init webpack projectName 注意:淘宝镜像语句,安装后npm速度更快,用的时候将npm都改成cnpm 在安装时
阅读全文
posted @ 2019-11-11 21:05 konge!
阅读(207)
评论(0)
推荐(0)
2019年11月5日
spring和springMVc配置文件
摘要: spring <?xml version="1.0" encoding="utf-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i
阅读全文
posted @ 2019-11-05 23:18 konge!
阅读(362)
评论(0)
推荐(0)
spring连接数据库异常
摘要: rg.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are: PropertyAccessException 1: org.springframework.beans.M
阅读全文
posted @ 2019-11-05 22:27 konge!
阅读(1289)
评论(0)
推荐(0)
2019年11月2日
Springmvc错误记录
摘要: 启动异常: inti() jar包的为题 springmvc拦截不起作用() 可以在扫描包内写 如果实在eclise中 重启tomcat 如果还不重启软件
阅读全文
posted @ 2019-11-02 16:04 konge!
阅读(131)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告