摘要: # Axios ## 常用请求方式 + get + post + delete + put + patch + head + request + all: 发送多个请求,返回一个数组 ```js axios.all([]) ``` ## 常用配置选项 + url + method + baseURL 阅读全文
posted @ 2023-03-25 23:17 转角90 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1. 声明式和命令式编程 2. MVVM模型 view--ViewModel(事件监听、数据绑定)--Model 3. options data属性: vue2中可以是一个对象,推荐函数 vue3中必须是一个函数,否则会报错 methods属性 不能是箭头函数,因为this指向window,不能获取 阅读全文
posted @ 2023-03-25 23:17 转角90 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 路由介绍 映射表,决定数据的流向 页面不刷新的方式 hash,监听hashchange事件 histroy模式:六种模式 pushState replaceState popState go forward back vue-router 基本使用 安装vue-router 创建路由对象 histo 阅读全文
posted @ 2023-03-25 23:16 转角90 阅读(15) 评论(0) 推荐(0) 编辑
摘要: Vuex 基本使用 store/index.js import { createStore } from "vuex"; const store = createStore({ state: () => ({ counter:0 }) }) export default store App.vue 阅读全文
posted @ 2023-03-25 23:16 转角90 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1. 版本控制工具 一种软件工程技巧,确保由不同人所变编辑的同一程序文件都能得到同步 追踪、维护、控制 集中式 集中管理的服务器,保存所有文件的修订版本。开发人员需要连接这台服务器 CVS SVN 分布式 git 2. Bash-CMD-GUI的区别 Bash git bash 就是一个shell, 阅读全文
posted @ 2023-03-17 23:12 转角90 阅读(18) 评论(0) 推荐(0) 编辑
摘要: Electron 项目搭建采坑 RequestError: connect ETIMEDOUT 20.205.243.166:443 原因github 连接不上,使用ping github.com 获取数据超时 解决方式 打开http://ping.chinaz.com/github.com,搜索g 阅读全文
posted @ 2023-03-16 23:09 转角90 阅读(77) 评论(0) 推荐(0) 编辑
摘要: # [npm](https://www.npmjs.com/) > npm registry仓库 ## 命令 + npm install 包名: 安装第三方包 + npm uninstall 包名: 卸载 + npm init + npm install xxx --save-dev | -D: 只 阅读全文
posted @ 2023-03-16 23:09 转角90 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 字段及默认错误信息 Field(基类) { 'required': _('This field is required.'), 'null': _('This field may not be null.') } BooleanField { 'invalid': _('Must be a vali 阅读全文
posted @ 2023-03-05 20:25 转角90 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 定义类 # 基于bootsrap class Pagination(object): def __init__(self, current_page, all_count, per_page_num=2, pager_count=11): """ 封装分页相关数据 :param current_pa 阅读全文
posted @ 2023-02-23 14:19 转角90 阅读(7) 评论(1) 推荐(0) 编辑
摘要: 破解软件相关 综合类网站导航 chrome插件 阅读全文
posted @ 2023-02-19 21:28 转角90 阅读(9) 评论(0) 推荐(0) 编辑