上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: import Vue from 'vue' import App from './App.vue' import router from './router' import store from './store' // 导入字体图标 import './assets/fonts/iconfont. 阅读全文
posted @ 2023-08-06 09:44 上海颖 阅读(15) 评论(0) 推荐(0) 编辑
摘要: vue的就地复用策略: Vue会尽可能的就地(同层级,同位置)最对比,如果原来的存在不在重新创建。 什么是虚拟dom: 用虚拟的dom来模拟真实的dom元素。 为什么要有虚拟dom的概念呢? 因为让元素新旧做对比。 为什么要做对比? 渲染效率高一些。 vue在渲染页面之前,会生成虚拟dom(type 阅读全文
posted @ 2023-06-15 18:50 上海颖 阅读(12) 评论(0) 推荐(0) 编辑
摘要: forEach 阅读全文
posted @ 2023-06-15 09:01 上海颖 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 项目的注意事项: 1.template必须是一个且必须有一个跟元素 2.导入的时候 webpack默认 导出的整个组件 整个组件包含了 data 言外之意 整个组件包含了 你所要导出的对象 3.一个vue的实例只能挂载一个标签。 1.插值表达式: {{数据}} 在data里面 data(){ ret 阅读全文
posted @ 2023-06-14 21:32 上海颖 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 创建text.txt文件 人生苦短, 学我用python 创建json文件 [ { "title":"es2015", "body":"es6非常好用" }, { "title":"es2016", "body":"es7非常好用" }, { "title":"es2017", "body":"es 阅读全文
posted @ 2023-06-13 18:17 上海颖 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 使用淘宝镜像的命令:npm install -g cnpm --registry=https://registry.npmmirror.com cnpm install express npm install express # 本地安装 npm install express -g # 全局安装 阅读全文
posted @ 2023-06-07 02:32 上海颖 阅读(2) 评论(0) 推荐(0) 编辑
摘要: adbutils==0.3.4aliyun-python-sdk-core-v3==2.11.0allure-pytest==2.8.6allure-python-commons==2.8.6amqp==2.3.2aniso8601==4.0.1ansi2html==1.4.2anyjson==0. 阅读全文
posted @ 2022-08-11 23:06 上海颖 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-08-25 14:01 上海颖 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 打开网页:https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.13 post接口头部缺少 Content-Type:application/json 阅读全文
posted @ 2021-08-25 11:56 上海颖 阅读(2214) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页