Commit 9f6b10ff by 徐忆琳

Merge branch 'v3.21.0_10' into 'v3.21.0'

1

See merge request !171
2 parents dcb924bc 723b94d6
......@@ -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!