摘要: ##1、beforeCreate 初始化函数钩子监听(基本用不上) ##2、created 创建了实例,只能对实例进行操作 ##3、compile template ①没模板(template)选项的组件 编译该组件$el挂载元素的innerHtml ②有模板(template)选项的组件 编译模板 阅读全文
posted @ 2022-04-13 11:20 Thantics 阅读(50) 评论(0) 推荐(0)
摘要: ###v-for 遍历四种数据类型 ###遍历对象 demo练习 点击查看代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE= 阅读全文
posted @ 2022-04-13 09:11 Thantics 阅读(552) 评论(0) 推荐(0)
摘要: ##本地预览 ① dist文件夹 不允许通过file://的方式直接打开index.html 除非配置了publicPath为一个相对的值也就是路径 ②只能通过跑dist的HTTP服务才能正常进行访问 ③解决本地预览的路由问题serve命令行解决方式:serve -s dist# -s 参数的意思是 阅读全文
posted @ 2022-04-06 17:36 Thantics 阅读(984) 评论(0) 推荐(0)
摘要: this.$router与this.$route的区别 this.$router 是函数集,this.$route是数据集 动态路由 使用localhost:8080/xxx/:yyy this.$route.params.yyy 可以直接获取到当前页面yyy具体值 导航的注意事项 ① 路由进行pu 阅读全文
posted @ 2022-04-01 11:06 Thantics 阅读(28) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/m0_46156566/article/details/120076332 阅读全文
posted @ 2022-03-30 14:37 Thantics 阅读(39) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/ligang2585116/article/details/51764828 阅读全文
posted @ 2022-03-30 09:04 Thantics 阅读(117) 评论(1) 推荐(0)
摘要: Vue3-Cli引入 vue-router 时使用 VueRouter.createRouter()时报 Cannot read properties of undefined (reading 'createRouter') ###源代码 import { createApp } from 'vu 阅读全文
posted @ 2022-03-28 16:45 Thantics 阅读(3566) 评论(0) 推荐(0)
摘要: 看DOI号写论文的参考文献 ##1、举个例子 10.3969/j.issn.1004-3810.2008.01.001 其中: j ————>此处代表是论文类型(j当前为期刊) issn.xxxx-xxxx ————> xxxx-xxxx是期刊的issn号 2018——————>期刊年份 01———————>期号 001——— 阅读全文
posted @ 2022-03-24 12:07 Thantics 阅读(585) 评论(0) 推荐(0)
摘要: ![](https://img2022.cnblogs.com/blog/2801568/202203/2801568-20220324091059923-1727412698.png) 阅读全文
posted @ 2022-03-24 09:11 Thantics 阅读(97) 评论(0) 推荐(0)
摘要: 关于开启了这个主题 。。。。。 阅读全文
posted @ 2022-03-21 15:45 Thantics 阅读(18) 评论(0) 推荐(0)