摘要:
<template> <view> <image class="head-bg" src="../../static/img1.png" @click="showpopup=!showpopup"/> <view class="mask-wrap" @touchstart="touchStart" 阅读全文
摘要:
Array.from() 伪数组转数组 1、 将对象转为数组 2、将set结构转为数组 let arr = [1,1,2,6,6,7,8,6]; let set = new Set(arr); console.log(set); //{1,2,6,7,8} let arr1 = Array.from 阅读全文