//构造函数创建对象 function student(name,age){ this.name = name; this.age = age; } function dog(name,age){ this.name = name; this.age = age; } var stud1 = new ...
分类:
其他好文 时间:
2021-02-22 12:12:49
阅读次数:
0
1. 报错slot slot` attributes are deprecated. 改成了 <el-dropdown-menu> <slot name="dropdown"> <el-dropdown-item>我的消息</el-dropdown-item> <el-dropdown-item>设 ...
分类:
其他好文 时间:
2021-02-22 12:10:17
阅读次数:
0
1 // 报错内容 Your project does not reference ".NETFramework,Version=v4.5" framework. Add a reference to ".NETFramework,Version=v4.5" in the "TargetFramew ...
分类:
Web程序 时间:
2021-02-22 11:53:25
阅读次数:
0
题目要求 计算文档a.txt中每一行中出现的数字个数并且要计算一下整个文档中一共出现了几个数字。例如a.txt内容如下: 12aa*lkjskdj alskdflkskdjflkjj 我们脚本名字为 ncount.sh, 运行它时: bash ncount.sh a.txt 输出结果应该为: 2 0 ...
分类:
其他好文 时间:
2021-02-22 11:48:33
阅读次数:
0
前期准备 代码从远程clone代码到本地,此时你本地代码链接一个远程仓库。比如地址:https://github.com/deerlin/cms-group.git 如需同时链接两个,可以再建立一个远程仓库。比如地址:https://gitee.com/deerlin/cms-group.git 具 ...
分类:
其他好文 时间:
2021-02-20 12:41:42
阅读次数:
0
数据库类型blob 存: QByteArray byteArry; QPixmap pix; QBuffer buffer(&byteArry); buffer.open(QIODevice::WriteOnly); pix.save(&buffer, "png", 0); 取: QPixmap h ...
分类:
数据库 时间:
2021-02-20 12:22:28
阅读次数:
0
编译ST官方TF-A 新建 my-tfa文件夹 mkdir ~/linux/atk-mp1/my-tfa 将6.1.2小节准备好的ST官方的TF-A源码拷贝到 my-tfa 目录。 cp -r ~/linux/atk-mp1/tf-a/* ~/linux/atk-mp1/my-tfa cd ~/li ...
分类:
其他好文 时间:
2021-02-20 12:15:06
阅读次数:
0
Given an integer n, return the number of structurally unique BST's (binary search trees) which has exactly n nodes of unique values from 1 to n. Examp ...
分类:
其他好文 时间:
2021-02-20 12:13:36
阅读次数:
0
暴力删除nodejs导致无法重新安装 Later version of Node.js is already installed. Setup will now exit 1、电脑全局搜索nodejs,保证node相关不存在 2、修改“环境变量”: 删除path值中的node及npm 3、重启 4、 ...
分类:
Web程序 时间:
2021-02-20 12:05:48
阅读次数:
0
import numpy as np df = np.arange(0,210,10) s = map ( str ,df) s2 = [] for i in s: s2.append(i) print(s2) 结果: ['0', '10', '20', '30', '40', '50', '60' ...
分类:
其他好文 时间:
2021-02-20 12:04:01
阅读次数:
0