update:add ci cd files ==> do not edit those file

This commit is contained in:
mahyargdz
2024-10-10 21:49:00 +03:30
parent 6fe34708a2
commit 8cf0492c87
464 changed files with 79533 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
const minimumDataSize = 100 //size unit = kilobytes (kb)
export default {
data() {
return {
axiosConfig: {
onUploadProgress: progressEvent => {
if (progressEvent.total / 1024 > minimumDataSize) {
const text = 'درحال آپلود '
const uploadLayout = this.$loading({
lock: true,
text: text,
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
document.querySelector('.el-loading-text').innerText = text + Math.floor(((progressEvent.loaded / progressEvent.total) * 100)) + '%'
if ((progressEvent.loaded / progressEvent.total) * 100 === 100) {
uploadLayout.close()
}
}
}
}
}
}
}