摘要: 1、从控制面板卸载2、C盘下Program Files(x86)中删除MySQL文件夹3、C盘下Program Files中查看,如果有也删除MySQL文件夹4、在C盘中有一个隐藏目录,ProgramData,删除里面的MySQL文件夹5、win + R ,输入【regedit】打开注册表:(1)H 阅读全文
posted @ 2022-05-10 14:59 启豪 阅读(81) 评论(0) 推荐(0) 编辑
摘要: <button onclick="open1()">kaiqi</button> <button onclick="close1()">close</button> <script> var s//全局变量 function open1() { s = open("https://www.baidu 阅读全文
posted @ 2022-05-09 10:32 启豪 阅读(181) 评论(0) 推荐(0) 编辑
摘要: var select = document.getElementById("sec")//获取元素 var idx = select.selectedIndex;//获取当前选中的下标 srcText = select.options[idx].text;//获取当前元素的文本 // //获取被选中 阅读全文
posted @ 2022-05-09 10:11 启豪 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 在代码中加入/** @type {HTMLCanvasElement} */ 即可 1 <script> 2 /** @type {HTMLCanvasElement} */ 3 let cvs = document.getElementById('cvs') 4 let ctx = cvs.get 阅读全文
posted @ 2022-05-09 09:34 启豪 阅读(105) 评论(0) 推荐(0) 编辑
摘要: String candidate = "this is a test, A TEST."; String regex = "[a-zA-Z]+"; Pattern p = Pattern.compile(regex); Matcher m = p.matcher(candidate); 阅读全文
posted @ 2022-04-10 20:15 启豪 阅读(77) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { Map<String, Integer> map = new HashMap(); map.put("13213", 8); Set<String> set=map.keySet(); map.entrySet(); 阅读全文
posted @ 2022-04-10 20:12 启豪 阅读(526) 评论(0) 推荐(0) 编辑
摘要: Arrays.copyof() int[] copied = Arrays.copyOf(arr, 10); //10 the the length of the new array System.out.println(Arrays.toString(copied)); copied = Arra 阅读全文
posted @ 2022-04-07 20:40 启豪 阅读(39) 评论(0) 推荐(0) 编辑
摘要: System提供了一个静态方法arraycopy(),我们可以使用它来实现数组之间的复制。其函数原型是: public static void arraycopy(Object src, int srcPos, Object dest, int destPos, int length) src:源数 阅读全文
posted @ 2022-03-28 17:14 启豪 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 使用插槽的时候其实就是引用子组件,在引用的组件中间写上你要的代码,然后在子组件的的<slot ></slot>中就包含父组件写下的代码。 父组件 import addshop from './addshop.vue' //引入子组件 //使用子组件 <addshop v-slot="obj" :pu 阅读全文
posted @ 2022-01-10 10:57 启豪 阅读(22) 评论(0) 推荐(0) 编辑
摘要: <slot v-bind="{ d: days, h: hours, m: mins, s: seconds, hh: `00${hours}`.slice(-2), mm: `00${mins}`.slice(-2), ss: `00${seconds}`.slice(-2), }"></slot 阅读全文
posted @ 2022-01-10 09:42 启豪 阅读(59) 评论(0) 推荐(0) 编辑