feat: add ci cd files dont edit those files

This commit is contained in:
mahyargdz
2024-10-21 10:22:26 +03:30
commit fb5b440d42
321 changed files with 188273 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()
}
}
}
}
}
}
}