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