te
DRF框架 生命周期 及源码分析
安装 pip3 install djangorestframework drf请求生命周期 准备前戏: 视图层 views.py from django.shortcuts import render from rest_framework.views import APIView from rest_framework.response import Response # Create[详细]
2020-07-25 10:00 分类:路由交换learning scala pattern matching
code: package com.aura.scala.day01 import scala.util.Random object patternMatching01 { def main(args: Array[String]): Unit = { val x:Int = Random.nextInt(10) // 一个模式匹配语句包括一个待匹配的值,ma[详细]
2020-07-24 08:12 分类:编程语言iSCSI网络磁盘 day3 (20191014)
iSCSI网络磁盘 iSCSI磁盘的工作模式 ? Internet SCSI,网际SCSI接口 默认端口:3260 – 一种基于C/S架构的虚拟磁盘技术 – 服务器提供磁盘空间,客户机连接并当成本地磁盘使用 服务端:虚拟机server: #### 一、划分一个分区,划分一个5G的主...[详细]
2020-07-23 19:20 分类:路由交换vue-router有哪几种导航钩子( 导航守卫 )?
问题一:vue-router有哪几种导航钩子( 导航守卫 )? 1、全局守卫: router.beforeEach 2、全局解析守卫: router.beforeResolve 3、全局后置钩子: router.afterEach 4、路由独享的守卫: beforeEnter 5、组件内的守卫: beforeRo...[详细]
2020-07-23 19:10 分类:路由交换Reinforcement Learning for Self Organization and Power Control of Two-Tier Heterogeneous Networks
R. Amiri, M. A. Almasi, J. G. Andrews and H. Mehrpouyan, "Reinforcement Learning for Self Organization and Power Control of Two-Tier Heterogeneous Networks," in IEEE Transactions on Wireless Communica[详细]
2020-07-23 18:41 分类:路由交换-
8种方案解决重复提交问题
1.什么是幂等 在我们编程中常见幂等 select查询天然幂等 delete删除也是幂等,删除同一个多次效果一样 update直接更新某个值的,幂等 update更新累加操作的,非幂等 insert非幂等操作,每次新增一条 2.产生原因 由于重复点击或者网络重发 ...[详细]
2020-07-23 18:11 分类:路由交换 -
vue 开发忽略的有用的技巧
1.require.context() 加载文件夹下所有的文件,例子: 将 global 文件夹下面所有的组件设置为全局组件,但是不包括 index.vue index.js: import Vue from ‘vue‘; // 自动加载 global 目录下的 .vue 结尾的文件 const componentsCon...[详细]
2020-07-23 17:52 分类:路由交换