@mixd-id/web-scaffold 0.1.230406033 → 0.1.230406035

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406033",
4
+ "version": "0.1.230406035",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -162,6 +162,9 @@ export default{
162
162
  reader.readAsDataURL(this.src)
163
163
  this.status = 1
164
164
  }
165
+ else{
166
+ this.actualSrc = this.defaultSrc
167
+ }
165
168
  }
166
169
 
167
170
  },
@@ -85,7 +85,7 @@ export default{
85
85
  <style module>
86
86
 
87
87
  .toast{
88
- @apply max-w-[90vw] md:max-w-[640px] bg-base-400 mt-4 mx-auto rounded-xl border-[1px] border-text-50;
88
+ @apply max-w-[90vw] md:max-w-[640px] bg-base-300 mt-4 mx-auto rounded-xl border-[1px] border-text-200;
89
89
  @apply min-h-[var(--h-cp)];
90
90
  z-index: 61;
91
91
  }
@@ -153,7 +153,9 @@ const importRequest = async(req) => {
153
153
  const key = keys[idx]
154
154
  if(key.value && columnAddress[key.value]){
155
155
  const cell = row.getCell(columnAddress[key.value])
156
- obj[key.key] = cell.formulaType === 1 ? cell.result : cell.value
156
+ let value = cell.formulaType === 1 ? cell.result : cell.value
157
+ if(value && value.error) value = ''
158
+ obj[key.key] = value
157
159
  }
158
160
  }
159
161
 
@@ -177,4 +179,4 @@ const importRequest = async(req) => {
177
179
  module.exports = {
178
180
  analyseRequest,
179
181
  importRequest
180
- }
182
+ }