摘要: 也就通过这种方式 <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! 阅读(232) 评论(0) 推荐(0) 编辑
摘要: vue当中的插槽,指的即是slot,是组件当中的一块HTML模板。该模板是否显示,以及如何显示由其父组件说了算。不过插槽显示的位置是由子组件决定 ,你将slot写在组件template的哪块,父组件传过来的模板将来就显示在哪块! <!DOCTYPE html> <html lang="en"> <h 阅读全文
posted @ 2019-11-19 12:01 konge! 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 基本操作: <!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! 阅读(173) 评论(0) 推荐(0) 编辑
摘要: <!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! 阅读(508) 评论(0) 推荐(0) 编辑
摘要: <!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! 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 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! 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 第一步下载vscode,node.js 第二步全局安装手脚架 npm install -g vue-cli //全局安装vue-cli 第三进入文件 夹 然后 vue init webpack projectName 注意:淘宝镜像语句,安装后npm速度更快,用的时候将npm都改成cnpm 在安装时 阅读全文
posted @ 2019-11-11 21:05 konge! 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 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! 阅读(352) 评论(0) 推荐(0) 编辑
摘要: rg.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are: PropertyAccessException 1: org.springframework.beans.M 阅读全文
posted @ 2019-11-05 22:27 konge! 阅读(1178) 评论(0) 推荐(0) 编辑
摘要: 启动异常: inti() jar包的为题 springmvc拦截不起作用() 可以在扫描包内写 如果实在eclise中 重启tomcat 如果还不重启软件 阅读全文
posted @ 2019-11-02 16:04 konge! 阅读(124) 评论(0) 推荐(0) 编辑