@mixd-id/web-scaffold 0.1.240411085 → 0.1.240411086
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 +1 -1
- package/src/components/List.vue +4 -0
package/package.json
CHANGED
package/src/components/List.vue
CHANGED
|
@@ -455,6 +455,10 @@ export default{
|
|
|
455
455
|
if(this.$route.query?.search)
|
|
456
456
|
this.preset.search = this.$route.query.search
|
|
457
457
|
}
|
|
458
|
+
else{
|
|
459
|
+
const defaultConfig = setupConfig(typeof this.defaultConfig === 'function' ? await this.defaultConfig() : {})
|
|
460
|
+
Object.assign(this.cConfig, defaultConfig)
|
|
461
|
+
}
|
|
458
462
|
}
|
|
459
463
|
else{
|
|
460
464
|
const defaultConfig = setupConfig(typeof this.defaultConfig === 'function' ? await this.defaultConfig() : {})
|