@mixd-id/web-scaffold 0.1.230406259 → 0.1.230406260
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
package/src/components/Chart.vue
CHANGED
|
@@ -196,10 +196,12 @@ export default{
|
|
|
196
196
|
|
|
197
197
|
const columnKey = yAxe.key
|
|
198
198
|
const column = this.config.columns.find(column => column.key === columnKey)
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
199
|
+
if(column){
|
|
200
|
+
switch (column.type) {
|
|
201
|
+
case 'enum':
|
|
202
|
+
label = column.typeParams.find(_ => `${_.value}` === `${value}`)?.text ?? label
|
|
203
|
+
break
|
|
204
|
+
}
|
|
203
205
|
}
|
|
204
206
|
|
|
205
207
|
datasets.push({
|
package/src/components/List.vue
CHANGED
|
@@ -344,7 +344,7 @@ export default{
|
|
|
344
344
|
id: items.map(item => item.id)
|
|
345
345
|
})
|
|
346
346
|
.then(({ items:nextItems }) => {
|
|
347
|
-
nextItems.forEach(item => this.$util.unshift(this.data.items, item))
|
|
347
|
+
nextItems.forEach(item => this.$util.unshift(this.data.items, item, { highlight: true }))
|
|
348
348
|
const destroyedItems = items.filter(_ => !nextItems.find(i => i.id === _.id))
|
|
349
349
|
this.$util.remove(this.data.items, destroyedItems)
|
|
350
350
|
})
|