原型(prototype) 在JavaScript中,每个函数都有一个prototype属性,这个属性指向函数的原型对象。 JavaScript不区分类和实例的概念,而是通过原型(prototype)来实现面向对象编程。 var student = { name:'lisi', age:18, ru ...
分类:
其他好文 时间:
2021-05-24 06:25:10
阅读次数:
0
<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale= ...
分类:
移动开发 时间:
2021-05-24 06:22:55
阅读次数:
0
先用ifconfig br_name down 停掉网桥 再用brctl delbr br_name 删除网桥 为了方便,我编写了shell脚本来删除网桥 #!/bin/bash #本脚本删除的是br-开头的网桥 BRIDGE_LIST=$(sudo brctl show | cut -f 1 | ...
分类:
其他好文 时间:
2021-05-24 06:19:17
阅读次数:
0
查询的方法还挺多的 查询所有 这两个一样 db.getCollection('userInfo').find({}) db.userInfo.find() distinct db.userInfo.distinct("name") 返回去重复后的所有name字段的值 按条件查询 db.userInf ...
分类:
数据库 时间:
2021-05-24 06:17:50
阅读次数:
0
Select T.Language, T2.Patch_Name, T2.Last_Update_Date From Applsys.Ad_Patch_Driver_Langs t, Ad_Patch_Drivers T1, Ad_Applied_Patches T2 Where T.Patch_D ...
分类:
其他好文 时间:
2021-05-24 06:15:27
阅读次数:
0
1,添加依赖 implementation 'com.journeyapps:zxing-android-embedded:3.4.0' implementation 'com.google.zxing:core:3.4.1' 2,添加权限 <uses-permission android:name ...
分类:
其他好文 时间:
2021-05-24 06:12:44
阅读次数:
0
原生input 类型为file时需要对不同参数做出调整 <input type="file" name="file" id="file" accpet=".doc,.docx,application/msword,application/vnd.openxmlformats-officedocume ...
分类:
其他好文 时间:
2021-05-24 06:06:15
阅读次数:
0
##高精度除法模板 给定两个非负整数 A,B请你计算 A/B 的商和余数。 输入格式 共两行,第一行包含整数 A,第二行包含整数 B。 输出格式 共两行,第一行输出所求的商,第二行输出所求余数。 数据范围 1≤A的长度≤100000 1≤B≤10000 B 一定不为 0 输入样例: 7 2 输出样例 ...
分类:
其他好文 时间:
2021-05-24 06:02:29
阅读次数:
0
文件上传 1.前端加入表单 <form method="POST" , action = "/Upload", enctype="multipart/form-data"> <input type="file", name = "file"/><br> <input type="submit", v ...
分类:
Web程序 时间:
2021-05-24 05:55:31
阅读次数:
0
🌲 参考https://docs.taro.zone/docs/router 1、传入参数 Taro.navigateTo({ url: '/pages/page/path/name?id=2&type=test' }) 2、在跳转后的页面获取入参 import { getCurrentInsta ...
分类:
微信 时间:
2021-05-24 05:53:43
阅读次数:
0