@mixd-id/web-scaffold 0.1.240411087 → 0.1.240411088
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
|
@@ -179,6 +179,8 @@ export default{
|
|
|
179
179
|
data
|
|
180
180
|
})
|
|
181
181
|
.then(({ data:res }) => {
|
|
182
|
+
if(!res?.keys)
|
|
183
|
+
return this.alert('File gagal di analisa, pastikan file sesuai dengan format yang ditentukan.')
|
|
182
184
|
|
|
183
185
|
this.step = 2
|
|
184
186
|
this.importData = res
|
|
@@ -195,7 +197,7 @@ export default{
|
|
|
195
197
|
})
|
|
196
198
|
})
|
|
197
199
|
.catch((e) => {
|
|
198
|
-
this.alert(e
|
|
200
|
+
this.alert(e)
|
|
199
201
|
})
|
|
200
202
|
.finally(() => {
|
|
201
203
|
this.isLoading = false
|