一、简介 基于matlab二维边界单元法计算腐蚀电位 二、源代码 clear; fid=fopen('input.dat','r'); indat=fscanf(fid,'%g%g%d%g',[4,inf]); indat=indat'; xb=indat(:,1); yb=indat(:,2); ...
分类:
其他好文 时间:
2021-06-28 20:17:15
阅读次数:
0
在官网可以看到,input、select等标签,当绑定值变化时,就会触发chenge方法,默认里面传递的是更新后的值。使用radio为例说明: 1)不传递参数 <el-radio @change="getValue" label="1" v-model="sex">男</el-radio> <el- ...
分类:
其他好文 时间:
2021-06-28 18:59:20
阅读次数:
0
kubernetes的三种探针 startupprobe: k8s1.16版本后新加的探测方式,用于判断容器内应用程序是否已经启动,如果配置了startuprobe,就会先禁用其他的探测,直到它成功为止,成功后将不再进行探测。 ReadinessProbe: 一般用于探测容器内的程序是否健康,它的返 ...
分类:
Web程序 时间:
2021-06-28 18:32:30
阅读次数:
0
1、在查询中根据A字段关联另一个表,并用另一个表A字段对应的另一个字段替换本表中A字段的值。 virtualid表,两列label, number;virtualid_zd表,两列name, number,怎么在查询 ...
分类:
数据库 时间:
2021-06-28 18:26:05
阅读次数:
0
mnist 自定义CNN模型与lenet import numpy as np import matplotlib.pyplot as plt from tensorflow import keras from keras.layers import Input, Dense, Dropout, A ...
分类:
Web程序 时间:
2021-06-28 17:47:00
阅读次数:
0
# 以t模式为基准操作# 1.r:只读模式:文件不存在时报错,文件存在时指针跳到开始位置# input_username = input("username:")# input_password = input("password:")## with open('a.txt', mode='rt', ...
分类:
编程语言 时间:
2021-06-25 17:15:33
阅读次数:
0
1.Raycast法 原理相同于3D中得Raycast法,具体使用略有区别。RaycastHit2D hit = Physics2D.Raycast(Camera.main.ScreenToWorldPoint(Input.mousePosition), Vector2.zero); if(hit. ...
分类:
编程语言 时间:
2021-06-24 18:17:37
阅读次数:
0
变量名=input(输出) 然后可以print(变量名)完成输出 input输出是str类型值 也可有print(int()+int()) ...
分类:
编程语言 时间:
2021-06-24 17:54:29
阅读次数:
0
{ "category":[ "id":"1", "isleaf":"0", "isshow":"1", "label":"根结点", "name":"根结点", "orderby":1, "parentid":"0", "children":[ { "id":"1-1 ...
分类:
Web程序 时间:
2021-06-24 17:37:47
阅读次数:
0
先看代码: <el-checkbox v-model="file" :true-label="1" :false-label="0">选择</el-checkbox>data(){ return{ file: 0 }} 定义了一个多选框的变量,但是调接口时取到的值总有问题,于是用到了下面的写法: c ...
分类:
其他好文 时间:
2021-06-23 17:07:55
阅读次数:
0