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 阅读全文
posted @ 2021-11-30 20:18 QTDD 阅读(428) 评论(0) 推荐(0)
摘要:Math对象属性 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" co 阅读全文
posted @ 2021-11-16 11:49 QTDD 阅读(41) 评论(0) 推荐(0)
摘要:###首先准备一个存放许多经常用到的less变量文件 variables.less //公共变量 // 主题 @xtxColor:#27BA9B; // 辅助 @helpColor:#E26237; // 成功 @sucColor:#1DC779; // 警告 @warnColor:#FFB302; 阅读全文
posted @ 2021-11-06 22:29 QTDD 阅读(537) 评论(0) 推荐(0)
摘要:import {useRoute} from 'vue-router'; const route = useRoute(); console.log(route.fullPath); 阅读全文
posted @ 2021-11-06 22:15 QTDD 阅读(1453) 评论(0) 推荐(0)
摘要:#encodeURIComponent(编码) let encodeBase = encodeURIComponent(); #decodeURIComponent(解码) let decodeBase = decodeURIComponent(); 阅读全文
posted @ 2021-11-06 11:52 QTDD 阅读(90) 评论(0) 推荐(0)