- 博客(3)
- 收藏
- 关注
原创 javascript关闭当前浏览器窗口
function CloseWebPage() { if (navigator.userAgent.indexOf("MSIE") > 0) { if (navigator.userAgent.indexOf("MSIE6.0") > 0) {//适用于ie6不带提示关闭窗口 window.opener = null; window.close(); } else { win...
2021-04-15 14:54:52 2098
原创 vue+handsontable页面表格插件
1.安装:npm install handsontable @handsontable/vue2.开始使用:import Handsontable from 'handsontable'import {HotTable} from '@handsontable/vue';<template> <div> <HotTable key="t...
2019-05-21 13:34:25 3810 4
原创 js字符串转base64
//字符串转base64function encode(str){ // 对字符串进行编码 var encode = encodeURI(str); // 对编码的字符串转化base64 var base64 = btoa(encode); return base64;}// base64转字符串function decode(base64){...
2019-01-02 10:39:18 8174
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人