11 2021 档案
摘要:第一种方法:使用join方法加split方法 //第一种方法:使用join方法将数组降维成一维字符串,然后使用split方法转为数组 let arr = [1, [2, 3, [7, 8, 9]], [4, 5, [10, 11, 12, [13, 14, 15]], 6] ]; let arrjo
阅读全文
摘要:Math对象属性 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" co
阅读全文
摘要:###首先准备一个存放许多经常用到的less变量文件 variables.less //公共变量 // 主题 @xtxColor:#27BA9B; // 辅助 @helpColor:#E26237; // 成功 @sucColor:#1DC779; // 警告 @warnColor:#FFB302;
阅读全文
摘要:import {useRoute} from 'vue-router'; const route = useRoute(); console.log(route.fullPath);
阅读全文
摘要:#encodeURIComponent(编码) let encodeBase = encodeURIComponent(); #decodeURIComponent(解码) let decodeBase = decodeURIComponent();
阅读全文

浙公网安备 33010602011771号