cosey 0.7.15 → 0.7.17

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.
@@ -33,6 +33,8 @@ var stdin_default = defineComponent({
33
33
  provide(localeContextKey, computed(() => props.locale));
34
34
  watch(() => props.locale, () => {
35
35
  outsideLocale.value = props.locale || stdin_default$1;
36
+ }, {
37
+ immediate: true
36
38
  });
37
39
  const themeManager = new ThemeManager(mergedTheme);
38
40
  onUnmounted(() => {
@@ -5,6 +5,7 @@ import { cloneDeep } from 'lodash-es';
5
5
  import { FormItem as _FormItem } from '../../form/index.js';
6
6
  import { FormQuery as _FormQuery } from '../../form-query/index.js';
7
7
  import { createMergedExpose } from '../../../utils/vue.js';
8
+ import { isObject } from '../../../utils/is.js';
8
9
 
9
10
  var stdin_default = defineComponent({
10
11
  name: "CoTableQuery",
@@ -68,7 +69,7 @@ var stdin_default = defineComponent({
68
69
  }
69
70
  }
70
71
  }, () => {
71
- return props.schemes.map(item => {
72
+ return props.schemes.filter(isObject).map(item => {
72
73
  const {
73
74
  slots,
74
75
  render,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosey",
3
- "version": "0.7.15",
3
+ "version": "0.7.17",
4
4
  "description": "基于 Vue3 + vite 的后台管理系统框架",
5
5
  "type": "module",
6
6
  "main": "index.js",