// 写vueJS逻辑 // @ts-ignore const app = new Vue({ el: '#app', data() { return { books: [ { id: 1, name: '《周文强牛逼1》', date: '2021-1-1', price: 88.00, coun ...
分类:
编程语言 时间:
2021-02-19 13:40:27
阅读次数:
0
包机制 为了更好地组织类,Java提供了包机制,用于区别类别的命名空间 包语句的语法格式为:Package pkg1[.pkg2[.pkg3]]; 一般利用公司域名倒置作为包名 为了能够使用某一个包的成员,我们需要在java程序中明确导入该包,使用"import"语句可完成此功能 import pa ...
分类:
编程语言 时间:
2021-02-19 13:21:28
阅读次数:
0
兄弟题1039 Course List for Student (25 分),一样很水。 vector<string> course[2510]; int n,m; int main() { cin>>n>>m; for(int i=0;i<n;i++) { string name; name.re ...
分类:
其他好文 时间:
2021-02-19 12:59:54
阅读次数:
0
第一个Mybatis程序 一、创建数据库、数据表 sql语句如下: create database mybatis; use mybatis; create table user( id int primary key auto_increment , name varchar(50) not nu ...
分类:
其他好文 时间:
2021-02-18 13:32:04
阅读次数:
0
Java实现乳腺癌诊断(分类)实验总结 朴素贝叶斯分类器、SVM(5行代码实现) 实验源码:https://gitee.com/LiuXingwu/sharing 1.问题描述 某研究获取了若干乳腺癌诊断数据,存放于breast cancer数据.txt 中。每个样本第一个数值为ID,随后10列为十 ...
分类:
编程语言 时间:
2021-02-18 13:28:12
阅读次数:
0
在 Vue.JS 项目中执行 npm run build 没想到出现了这个错误 (node:18692) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Objec ...
分类:
其他好文 时间:
2021-02-18 13:05:49
阅读次数:
0
方式1: ssh-copy-id -f -i .ssh/id_rsa.pub root@LinuxServerIP 方式2: #先在mac上将公钥上传到Linux服务器 scp .ssh/id_rsa.pub root@LinuxServerIP: #然后以root身份登录到Linux服务器上 ca ...
分类:
系统相关 时间:
2021-02-18 12:58:05
阅读次数:
0
1.v-bind: v-bind attribute 被称为指令,在这里,该指令的意思是:“将这个元素节点的 title attribute 和 Vue 实例的 message property 保持一致”。 <div id="app"> <span v-bind:title="message"> ...
分类:
其他好文 时间:
2021-02-18 12:54:53
阅读次数:
0
大水题。。。 const int N=1e5+10; struct Node { string id; string name; int grade; }a[N]; int n,m; bool cmp1(Node &a,Node &b) { return a.id < b.id; } bool cm ...
分类:
其他好文 时间:
2021-02-17 15:07:19
阅读次数:
0
resultMap: ResultMap 的设计思想是,对于简单的语句根本不需要配置显式的结果映射,而对于复杂一点的语句只需要描述它们的关系就行了。 <resultMap id="userResultMap" type="User"> <id property="id" column="user_i ...
分类:
其他好文 时间:
2021-02-17 14:55:08
阅读次数:
0