Commit 723b94d6 by 前端

1

1 parent 489241f8
......@@ -9,6 +9,12 @@ util.cloneText = function(message) {
document.body.removeChild(input)
Message.success('复制成功')
}
util.getArrayIsSubset = (arr2, arr1) => {
const filterArr = arr2.map(item => item.replace(/\s/g, ''))
return arr1.every(item => {
return filterArr.includes(item.replace(/\s/g, ''))
})
}
util.getBeforeDate = function(sign = '-') {
let day = new Date()
let month = day.getMonth() + 1
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!