@mixd-id/web-scaffold 0.1.240411012 → 0.1.240411013
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -936,10 +936,8 @@ export default{
|
|
|
936
936
|
if (!Array.isArray(bgColors)) return
|
|
937
937
|
|
|
938
938
|
for(let i = 0 ; i < bgColors.length ; i++){
|
|
939
|
-
|
|
940
939
|
let value = bgColors[i]
|
|
941
|
-
if(bgColors[i]
|
|
942
|
-
|
|
940
|
+
if(`${bgColors[i]}`.startsWith('bg-')){
|
|
943
941
|
const el = document.createElement('div')
|
|
944
942
|
el.classList.add(bgColors[i])
|
|
945
943
|
el.style.position = 'fixed'
|
|
@@ -958,7 +956,6 @@ export default{
|
|
|
958
956
|
document.body.removeChild(el)
|
|
959
957
|
}
|
|
960
958
|
|
|
961
|
-
console.log(`bgColors[${i}]`, bgColors[i], value)
|
|
962
959
|
bgColors[i] = value
|
|
963
960
|
}
|
|
964
961
|
},
|
|
@@ -1016,6 +1013,7 @@ export default{
|
|
|
1016
1013
|
.catch((err) => {
|
|
1017
1014
|
this.toast(err)
|
|
1018
1015
|
this.readyState = -1
|
|
1016
|
+
console.error(err)
|
|
1019
1017
|
})
|
|
1020
1018
|
},
|
|
1021
1019
|
|