摘要: VUE组件简单实例 <!DOCTYPE html> <html> <head> <title> </title> </head> <body> <div id="app"> <div> <bt></bt> <bt></bt> </div> </div> <script src="https://cd 阅读全文
posted @ 2021-07-12 17:06 月长生 阅读(38) 评论(0) 推荐(0)
摘要: Vue增删改查简易实例 <!DOCTYPE html> <html> <head> <title> </title> <style type="text/css"> .ulStyle{ list-style-type: none; margin: 10px 30px; } .divStyle{ wi 阅读全文
posted @ 2021-07-12 15:20 月长生 阅读(84) 评论(0) 推荐(0)
摘要: 挂载: beforeCreate created beforeMount mounted:el挂载到实例上时运行 更新: beforeUpdate updated 销毁: beforeDestory destoryed 各自出现的时机如下列代码所示:在log中查看 <!DOCTYPE html> < 阅读全文
posted @ 2021-07-12 10:21 月长生 阅读(62) 评论(0) 推荐(0)
摘要: 过滤器实例:转换首字母大写 <!DOCTYPE html> <html> <head> <title> </title> </head> <body> <div id="app"> <input type="text" name="" v-model="uname"> <div>{{uname | 阅读全文
posted @ 2021-07-12 09:47 月长生 阅读(43) 评论(0) 推荐(0)