@d-mok/quasar-app-extension-quasar-axe 3.1.26 → 3.1.28
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
|
@@ -32,9 +32,8 @@
|
|
|
32
32
|
v-show="err()"
|
|
33
33
|
class="text-red"
|
|
34
34
|
style="text-align: right"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</div>
|
|
35
|
+
v-html="err()"
|
|
36
|
+
/>
|
|
38
37
|
</q-card-section>
|
|
39
38
|
|
|
40
39
|
<q-card-actions align="right">
|
|
@@ -111,7 +110,8 @@ function checkSpec(row: any): boolean {
|
|
|
111
110
|
v.object(
|
|
112
111
|
Object.mapValues(sample, val => {
|
|
113
112
|
if (typeof val === 'string') return v.string()
|
|
114
|
-
if (typeof val === 'number')
|
|
113
|
+
if (typeof val === 'number')
|
|
114
|
+
return v.union([v.number(), v.nan()])
|
|
115
115
|
if (typeof val === 'boolean') return v.boolean()
|
|
116
116
|
return v.never('Invalid type:' + val)
|
|
117
117
|
})
|