02 2022 档案
摘要:译自:https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.spring-application 1. SpringApplication SpringApplication类提供了
阅读全文
摘要:译自:https://docs.spring.io/spring-boot/docs/current/reference/html/using.html#using 4. Auto-configuration Spring Boot auto-configuration尝试根据添加的jar依赖项自动
阅读全文
摘要:一个简单的demo 可以通过浏览器开发者工具或者node执行: // Key terminology: // training set has training examples (features + target variable) // In the classification proble
阅读全文
摘要:背景:采用若干种办法无法在原环境安装Jupyter Notebook,寻求更简便的安装办法,于是尝试Anaconda 按默认步骤安装Anaconda后各指令状况如下所示: D:\2022_2_22_py>py --version Python 3.9.7 D:\2022_2_22_py>python
阅读全文
摘要:问题描述 操作环境win10,pthon以及pip版本如下 D:>py --version Python 3.8.0 D:>py -m pip --version pip 22.0.3 from ... (python 3.8) 升级pip之后(变成了如上版本)尝试pip install noteb
阅读全文
摘要:https://v3.router.vuejs.org/zh/guide/ 一个简单例子 先用脚手架创建一个原始项目,然后cd到项目根目录下 ①npm install vue-router@3(对应Vue2) ②准备几个简单的组件备用(这种组件叫做路由组件,可以进一步和一般组件区分一下) Page1
阅读全文
摘要:饮水思源:https://www.bilibili.com/video/BV1Zy4y1K7SH?p=134 一些组件库: https://nutui.jd.com/#/ https://element.eleme.cn/#/zh-CN https://www.antdv.com/docs/vue/
阅读全文
摘要:vuex是一个便于多个组件共享数据的一个东西。 ①环境准备 vue create test_vuex cd test_vuex ②安装Vuex npm install vuex@next --save 运行后报错: npm ERR! code ERESOLVE npm ERR! ERESOLVE u
阅读全文
摘要:饮水思源:https://www.bilibili.com/video/BV1Zy4y1K7SH?p=99&spm_id_from=pageDriver ①创建项目 vue create vue-github-example 启动调试: cd vue-github-example npm run s
阅读全文
摘要:官方介绍:https://www.npmjs.com/package/pubsub-js 修改Vue.js全局事件总线(用于任意组件之间的通信)中的例子。 效果: 安装: npm i pubsub-js 消息订阅者.vue: <template> <div> <h1>大儿子</h1> <div>收到
阅读全文
摘要:饮水思源:https://www.bilibili.com/video/BV1Zy4y1K7SH?p=85&spm_id_from=pageDriver 这是一个便于组件之间通信的办法(适合于任意组件之间!),是由程序员总结而来,并非官方的API 基本原理是借助一个全局对象,进行通信。 ①效果演示
阅读全文
摘要:饮水思源:https://www.bilibili.com/video/BV1Zy4y1K7SH?p=75 ①底部统计 MyFooter.vue: <template> <div> <label> <input type="checkbox" /> </label> <span> <span>已完成
阅读全文
摘要:①效果 折线1和折线2为拆分版本,折线3为合并版本。 合并方法是采用两个series元素,并分别设置lineStyle 最开始参考(https://blog.csdn.net/weixin_33991418/article/details/89369690),在折线2数据组前面插入大量“-”,这样就
阅读全文
摘要:饮水思源:https://www.bilibili.com/video/BV1Zy4y1K7SH?p=70 ①划分组件,使用组件实现静态页面的效果。 MyHeader.vue: <template> </template> <script> export default { name: 'MyHea
阅读全文
摘要:①全局安装 npm install -g @vue/cli ②创建一个项目 vue create hello-world ③错误采用vue serve命令,结果出现下面这个 Command vue serve requires a global addon to be installed. Plea
阅读全文