@bsgoal/common 2.5.7 → 2.7.0

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.
Files changed (61) hide show
  1. package/dist/index.mjs +1478 -1385
  2. package/dist/index.mjs.map +1 -1
  3. package/dist/index.umd.js +13 -13
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/style.css +1 -1
  6. package/package.json +2 -2
  7. package/src/components/bsgoal-base-alert/demo.vue +6 -6
  8. package/src/components/bsgoal-base-alert/index.vue +6 -7
  9. package/src/components/bsgoal-base-button/demo.vue +8 -10
  10. package/src/components/bsgoal-base-button/index.vue +6 -7
  11. package/src/components/bsgoal-base-cascader/demo.vue +5 -6
  12. package/src/components/bsgoal-base-cascader/index.vue +6 -7
  13. package/src/components/bsgoal-base-dialog/demo.vue +4 -6
  14. package/src/components/bsgoal-base-dialog/index.vue +11 -7
  15. package/src/components/bsgoal-base-form/demo.vue +5 -6
  16. package/src/components/bsgoal-base-form/index.vue +5 -6
  17. package/src/components/bsgoal-base-frame/demo.vue +5 -5
  18. package/src/components/bsgoal-base-frame/index.vue +4 -5
  19. package/src/components/bsgoal-base-input/demo.vue +38 -0
  20. package/src/components/bsgoal-base-input/index.vue +109 -0
  21. package/src/components/bsgoal-base-item/demo.vue +4 -5
  22. package/src/components/bsgoal-base-item/index.vue +5 -5
  23. package/src/components/bsgoal-base-layout/demo.vue +5 -6
  24. package/src/components/bsgoal-base-layout/index.vue +4 -6
  25. package/src/components/bsgoal-base-line/demo.vue +5 -6
  26. package/src/components/bsgoal-base-line/index.vue +6 -7
  27. package/src/components/bsgoal-base-link/demo.vue +8 -14
  28. package/src/components/bsgoal-base-link/index.vue +5 -6
  29. package/src/components/bsgoal-base-search/demo.vue +6 -9
  30. package/src/components/bsgoal-base-search/index.vue +4 -6
  31. package/src/components/bsgoal-base-search-operation/index.vue +6 -7
  32. package/src/components/bsgoal-base-search-table/demo.vue +4 -7
  33. package/src/components/bsgoal-base-search-table/index.vue +5 -6
  34. package/src/components/bsgoal-base-select/demo.vue +4 -5
  35. package/src/components/bsgoal-base-select/index.vue +5 -5
  36. package/src/components/bsgoal-base-switch/demo.vue +5 -5
  37. package/src/components/bsgoal-base-switch/index.vue +5 -5
  38. package/src/components/bsgoal-base-table/demo.vue +6 -7
  39. package/src/components/bsgoal-base-table/index.vue +4 -5
  40. package/src/components/bsgoal-base-table-content/index.vue +5 -6
  41. package/src/components/bsgoal-base-table-empty/demo.vue +5 -6
  42. package/src/components/bsgoal-base-table-empty/index.vue +3 -3
  43. package/src/components/bsgoal-base-table-pagination/index.vue +5 -6
  44. package/src/components/bsgoal-base-tabs/demo.vue +5 -6
  45. package/src/components/bsgoal-base-tabs/index.vue +5 -5
  46. package/src/components/bsgoal-base-time/demo.vue +6 -6
  47. package/src/components/bsgoal-base-time/index.vue +5 -5
  48. package/src/components/bsgoal-base-time-range/demo.vue +5 -5
  49. package/src/components/bsgoal-base-time-range/index.vue +5 -5
  50. package/src/components/bsgoal-base-tooltip/demo.vue +5 -7
  51. package/src/components/bsgoal-base-tooltip/index.vue +5 -6
  52. package/src/components/bsgoal-base-tree/demo.vue +5 -6
  53. package/src/components/bsgoal-base-tree/index.vue +5 -6
  54. package/src/components/bsgoal-base-tree-fold/index.vue +5 -6
  55. package/src/components/layout/layout-home.vue +16 -16
  56. package/src/components/layout/layout-left-menu.vue +22 -16
  57. package/src/components/layout/layout-right-container.vue +12 -11
  58. package/src/components/layout/layout-top-header.vue +11 -13
  59. package/src/entry.js +14 -0
  60. package/src/router/index.js +6 -1
  61. package/src/components/bsgoal-base-search-table/demo-table.vue +0 -52
@@ -7,30 +7,25 @@
7
7
  * @Description: 链接公共组件 演示
8
8
  *
9
9
  -->
10
-
11
- <script>
12
- export default {
13
- name: "BsgoalBaseLinkDemo",
14
- };
15
- </script>
16
10
  <script setup>
17
11
  /* setup模板
18
12
  ---------------------------------------------------------------- */
19
- import { ref } from 'vue';
20
- import BsgoalBaseLink from './index.vue'
21
- // props
22
- const props = defineProps({
13
+ import { ref } from 'vue'
14
+ import BsgoalBaseLink from './index.vue'
23
15
 
16
+ defineOptions({
17
+ name: 'BsgoalBaseLinkDemo'
24
18
  })
19
+ const props = defineProps({})
25
20
 
26
21
  const clickLink = () => {
27
- console.log('点击链接了');
22
+ console.log('点击链接了')
28
23
  }
29
24
  </script>
30
25
  <template>
31
26
  <div class="bsgoal-base-link-demo">
32
- <BsgoalBaseLink content="这是链接" @on-click="clickLink" />
33
- <BsgoalBaseLink underline content="这是链接" @on-click="clickLink" />
27
+ <BsgoalBaseLink content="这是链接" @on-click="clickLink" />
28
+ <BsgoalBaseLink underline content="这是链接" @on-click="clickLink" />
34
29
  </div>
35
30
  </template>
36
31
  <style lang="scss" scoped>
@@ -41,4 +36,3 @@ const clickLink = () => {
41
36
  /* 覆盖样式
42
37
  ---------------------------------------------------------------- */
43
38
  </style>
44
-
@@ -8,16 +8,15 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: "BsgoalBaseLink",
14
- };
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
19
14
  import { ref } from 'vue';
20
- // props
15
+
16
+ defineOptions({
17
+ name: 'BsgoalBaseLink'
18
+ })
19
+
21
20
  const props = defineProps({
22
21
  /**
23
22
  * 内容
@@ -8,11 +8,6 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: 'BsgoalBaseSearchDemo'
14
- }
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
@@ -20,10 +15,12 @@ import { ref } from 'vue'
20
15
  import BsgoalBaseSearch from './index.vue'
21
16
  import ComponentTypeEnums from '../../enums/componentTypeEnums.js'
22
17
 
23
- const searchModelValue = ref({})
24
-
18
+ defineOptions({
19
+ name: 'BsgoalBaseSearchDemo'
20
+ })
25
21
  // props
26
22
  const props = defineProps({})
23
+ const searchModelValue = ref({})
27
24
  let curLocalOptions = ref([
28
25
  {
29
26
  label: 'prop1',
@@ -166,7 +163,7 @@ let curLocalOptions = ref([
166
163
  label: 'prop17',
167
164
  type: ComponentTypeEnums.CASCADER,
168
165
  prop: 'prop17',
169
- single:true,
166
+ single: true,
170
167
  range: [
171
168
  {
172
169
  label: 'value1',
@@ -187,7 +184,7 @@ let curLocalOptions = ref([
187
184
  {
188
185
  label: 'value1-4',
189
186
  value: 'value1-5'
190
- },
187
+ }
191
188
  ]
192
189
  }
193
190
  ]
@@ -8,11 +8,6 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: 'BsgoalBaseSearch'
14
- }
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
@@ -23,7 +18,10 @@ import BsgoalBaseLine from '../bsgoal-base-line/index.vue'
23
18
  import BsgoalBaseSearchOperation from '../bsgoal-base-search-operation/index.vue'
24
19
  import BsgoalBaseCascader from '../bsgoal-base-cascader/index.vue'
25
20
 
26
- // props
21
+ defineOptions({
22
+ name: 'BsgoalBaseSearch'
23
+ })
24
+
27
25
  const props = defineProps({
28
26
  /**
29
27
  * >----------props----------<
@@ -2,22 +2,21 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-04-13 18:09:43
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-04-25 13:49:56
5
+ * @LastEditTime: 2023-05-26 16:01:16
6
6
  * @FilePath: \common\src\components\bsgoal-base-search-operation\index.vue
7
7
  * @Description: 表格查询操作项 组件
8
8
  *
9
9
  -->
10
-
11
- <script>
12
- export default {
13
- name: "BsgoalBaseSearchOperation",
14
- };
15
- </script>
16
10
  <script setup>
17
11
  /* setup模板
18
12
  ---------------------------------------------------------------- */
19
13
  import { Delete, Search, ArrowDown, ArrowUp } from '@element-plus/icons-vue'
20
14
  import { ref, unref } from 'vue'
15
+
16
+ defineOptions({
17
+ name: 'BsgoalBaseSearchOperation'
18
+ })
19
+
21
20
  defineProps({
22
21
  /**
23
22
  * 是否显示折叠按钮
@@ -8,21 +8,18 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: 'BsgoalSearchTableDemo'
14
- }
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
19
14
  import { ref, unref } from 'vue'
20
15
  import ComponentTypeEnums from '../../enums/componentTypeEnums.js'
21
16
  import BsgoalBaseSearchTable from './index.vue'
22
- import DemoTable from './demo-table.vue'
23
17
  import BsgoalBaseButton from '../bsgoal-base-button/index.vue'
24
18
 
25
- // props
19
+ defineOptions({
20
+ name: 'BsgoalSearchTableDemo'
21
+ })
22
+
26
23
  const props = defineProps({})
27
24
 
28
25
  const configOptions = ref([
@@ -8,18 +8,17 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: 'BsgoalBaseSearchTable'
14
- }
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
19
14
  import { ref, computed, unref, provide, useSlots } from 'vue'
20
15
  import BsgoalBaseSearch from '../bsgoal-base-search/index.vue'
21
16
  import BsgoalBaseTable from '../bsgoal-base-table/index.vue'
22
- // props
17
+
18
+ defineOptions({
19
+ name: 'BsgoalBaseSearchTable'
20
+ })
21
+
23
22
  const props = defineProps({
24
23
  /**
25
24
  * >----------props----------<
@@ -14,6 +14,10 @@
14
14
  import { ref } from 'vue'
15
15
  import BsgoalBaseSelect from './index.vue'
16
16
 
17
+ defineOptions({
18
+ name: 'BsgoalBaseSelectDemo'
19
+ })
20
+
17
21
  const props = defineProps({})
18
22
 
19
23
  const selectValue = ref('11')
@@ -44,11 +48,6 @@ const change = (value = '', data = {}) => {
44
48
  console.log('data', data)
45
49
  }
46
50
  </script>
47
- <script>
48
- export default {
49
- name: 'BsgoalBaseSelectDemo'
50
- }
51
- </script>
52
51
  <template>
53
52
  <div class="bsgoal-base-select-demo">
54
53
  <div class="base_select_demo">
@@ -12,6 +12,11 @@
12
12
  /* setup模板
13
13
  ---------------------------------------------------------------- */
14
14
  import { ref } from 'vue'
15
+
16
+ defineOptions({
17
+ name: 'BsgoalBaseSelect'
18
+ })
19
+
15
20
  const props = defineProps({
16
21
  /**
17
22
  * 占位提示符
@@ -64,11 +69,6 @@ const triggerChange = (value = '') => {
64
69
 
65
70
  // ---> E 触发 方法 <---
66
71
  </script>
67
- <script>
68
- export default {
69
- name: 'BsgoalBaseSelect'
70
- }
71
- </script>
72
72
  <template>
73
73
  <div class="bsgoal-base-select">
74
74
  <el-select
@@ -12,15 +12,15 @@
12
12
  ---------------------------------------------------------------- */
13
13
  import { ref } from 'vue'
14
14
  import BsgoalBaseSwitch from './index.vue'
15
+
16
+ defineOptions({
17
+ name: 'BsgoalBaseSwitchDemo'
18
+ })
19
+
15
20
  const props = defineProps({})
16
21
 
17
22
  const modelValue = ref('0')
18
23
  </script>
19
- <script>
20
- export default {
21
- name: 'BsgoalBaseSwitchDemo'
22
- }
23
- </script>
24
24
  <template>
25
25
  <div class="bsgoal-base-switch-demo">
26
26
  <div class="base_switch_demo">
@@ -12,6 +12,11 @@
12
12
  /* setup模板
13
13
  ---------------------------------------------------------------- */
14
14
  import { ref } from 'vue'
15
+
16
+ defineOptions({
17
+ name: 'BsgoalBaseSwitch'
18
+ })
19
+
15
20
  const props = defineProps({
16
21
  /**
17
22
  * text 配置 选项
@@ -48,11 +53,6 @@ const triggerChange = (value = '') => {
48
53
  }
49
54
  </script>
50
55
 
51
- <script>
52
- export default {
53
- name: 'BsgoalBaseSwitch'
54
- }
55
- </script>
56
56
  <template>
57
57
  <div class="bsgoal-base-switch">
58
58
  <el-switch
@@ -2,24 +2,23 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-04-10 14:26:44
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-05-19 14:39:05
5
+ * @LastEditTime: 2023-05-26 14:26:06
6
6
  * @FilePath: \common\src\components\bsgoal-base-table\demo.vue
7
7
  * @Description: 表格公共组件演示页面
8
8
  *
9
9
  -->
10
- <script>
11
- export default {
12
- name: 'BsgoalBaseTableDemo'
13
- }
14
- </script>
15
10
  <script setup>
16
11
  /* setup模板
17
12
  ---------------------------------------------------------------- */
18
13
  import { ref, computed, toRefs, watch, unref } from 'vue'
19
-
20
14
  import BsgoalBaseTable from './index.vue'
21
15
  import BsgoalBaseSearch from '../bsgoal-base-search/index.vue'
22
16
  import ComponentTypeEnums from '../../enums/componentTypeEnums.js'
17
+
18
+ defineOptions({
19
+ name:'BsgoalBaseTableDemo111'
20
+ })
21
+
23
22
  let searchOptions = ref([
24
23
  {
25
24
  label: 'prop1',
@@ -8,11 +8,6 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: 'BsgoalBaseTable'
14
- }
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
@@ -24,6 +19,10 @@ import { useAutoHeight } from '../../combines/useComs.js'
24
19
  import { useFetch } from '../../combines/useFetchs.js'
25
20
  import { isBoolean } from '@/utils/common.js'
26
21
 
22
+ defineOptions({
23
+ name: 'BsgoalBaseTable'
24
+ })
25
+
27
26
  const props = defineProps({
28
27
  /**
29
28
  * >----------props----------<
@@ -8,17 +8,16 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: "BsgoalBaseTableContent",
14
- };
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
19
14
  import { ref } from 'vue';
20
15
  import BsgoalBaseTooltip from '../bsgoal-base-tooltip/index.vue'
21
- // props
16
+
17
+ defineOptions({
18
+ name: 'BsgoalBaseTableContent'
19
+ })
20
+
22
21
  const props = defineProps({
23
22
  /**
24
23
  * 数据
@@ -8,17 +8,16 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: 'BsgoalBaseTableEmptyDemo'
14
- }
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
19
14
  import { ref } from 'vue'
20
15
  import BsgoalBaseTableEmpty from './index.vue'
21
- // props
16
+
17
+ defineOptions({
18
+ name: 'BsgoalBaseTableEmptyDemo'
19
+ })
20
+
22
21
  const props = defineProps({})
23
22
  </script>
24
23
  <template>
@@ -8,10 +8,10 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
11
+ <script setup>
12
+ defineOptions({
13
13
  name: 'BsgoalBaseTableEmpty'
14
- }
14
+ })
15
15
  </script>
16
16
 
17
17
  <template>
@@ -8,17 +8,16 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: 'BsgoalBaseTablePagination'
14
- }
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
19
14
  import { ref, computed } from 'vue'
20
15
  import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
21
- // props
16
+
17
+ defineOptions({
18
+ name: 'BsgoalBaseTablePagination'
19
+ })
20
+
22
21
  const props = defineProps({
23
22
  /**
24
23
  * 当前页数
@@ -6,17 +6,16 @@
6
6
  * @FilePath: \common\src\components\bsgoal-base-tabs\demo.vue
7
7
  * @Description: tabs 标签切页 公共组件演示
8
8
  -->
9
- <script>
10
- export default {
11
- name: 'BsgoalBaseTabsDemo'
12
- }
13
- </script>
14
9
  <script setup>
15
10
  /* setup模板
16
11
  ---------------------------------------------------------------- */
17
12
  import { ref } from 'vue'
18
13
  import BsgoalBaseTabs from './index.vue'
19
- // props
14
+
15
+ defineOptions({
16
+ name: 'BsgoalBaseTabsDemo'
17
+ })
18
+
20
19
  const props = defineProps({})
21
20
  const activeTabName = ref('tab1')
22
21
  const config = ref([
@@ -8,15 +8,15 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: 'BsgoalBaseTabs'
14
- }
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
19
14
  import { ref, unref, computed } from 'vue'
15
+
16
+ defineOptions({
17
+ name: 'BsgoalBaseTabs'
18
+ })
19
+
20
20
  const props = defineProps({
21
21
  /**
22
22
  * 配置项
@@ -12,18 +12,18 @@
12
12
  ---------------------------------------------------------------- */
13
13
  import { ref } from 'vue'
14
14
  import BsgoalBaseTime from './index.vue'
15
+
16
+ defineOptions({
17
+ name: 'BsgoalBaseTimeDemo'
18
+ })
19
+
15
20
  const props = defineProps({})
16
21
  const time = ref('11:22')
17
22
  </script>
18
- <script>
19
- export default {
20
- name: 'BsgoalBaseTimeDemo'
21
- }
22
- </script>
23
23
  <template>
24
24
  <div class="bsgoal-base-time-demo">
25
25
  <div class="base_time_demo">
26
- {{ time }}
26
+ {{ time }}
27
27
  <BsgoalBaseTime v-model="time" />
28
28
  </div>
29
29
  </div>
@@ -15,6 +15,11 @@ import { ref, unref, watchEffect } from 'vue'
15
15
  import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
16
16
  import { dayjs } from 'element-plus'
17
17
  const emits = defineEmits(['update:modelValue'])
18
+
19
+ defineOptions({
20
+ name: 'BsgoalBaseTime'
21
+ })
22
+
18
23
  const props = defineProps({
19
24
  /**
20
25
  * 绑定的值
@@ -85,11 +90,6 @@ const triggerChange = (date = new Date()) => {
85
90
  // ---> E 绑定值 <---
86
91
  </script>
87
92
 
88
- <script>
89
- export default {
90
- name: 'BsgoalBaseTime'
91
- }
92
- </script>
93
93
  <template>
94
94
  <div class="bsgoal-base-time">
95
95
  <el-config-provider :locale="zhCn">
@@ -13,6 +13,11 @@
13
13
  ---------------------------------------------------------------- */
14
14
  import { ref } from 'vue'
15
15
  import BsgoalBaseTimeRange from './index.vue'
16
+
17
+ defineOptions({
18
+ name: 'BsgoalBaseTimeDemoRange'
19
+ })
20
+
16
21
  const props = defineProps({})
17
22
 
18
23
  const timeRange = ref(['11:00', '12:12'])
@@ -20,11 +25,6 @@ const timeRange = ref(['11:00', '12:12'])
20
25
  const startTime = ref('12:11')
21
26
  const endTime = ref('13:55')
22
27
  </script>
23
- <script>
24
- export default {
25
- name: 'BsgoalBaseTimeDemoRange'
26
- }
27
- </script>
28
28
  <template>
29
29
  <div class="bsgoal-base-time-range-demo">
30
30
  <div>{{ timeRange }}</div>
@@ -14,6 +14,11 @@
14
14
  import { ref, unref, watch, watchEffect } from 'vue'
15
15
  import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
16
16
  import { dayjs } from 'element-plus'
17
+
18
+ defineOptions({
19
+ name: 'BsgoalBaseTimeRange'
20
+ })
21
+
17
22
  const props = defineProps({
18
23
  /**
19
24
  * value
@@ -123,11 +128,6 @@ const triggerVisibleChange = (visibility = false) => {
123
128
 
124
129
  // ---> E 值绑定 <---
125
130
  </script>
126
- <script>
127
- export default {
128
- name: 'BsgoalBaseTimeRange'
129
- }
130
- </script>
131
131
  <template>
132
132
  <div class="bsgoal-base-time-range">
133
133
  <el-config-provider :locale="zhCn">
@@ -7,18 +7,16 @@
7
7
  * @Description: 文字提示公共组件演示
8
8
  *
9
9
  -->
10
-
11
- <script>
12
- export default {
13
- name: "BsgoalBaseTooltipDemo",
14
- };
15
- </script>
16
10
  <script setup>
17
11
  /* setup模板
18
12
  ---------------------------------------------------------------- */
19
13
  import { ref } from 'vue';
20
14
  import BsgoalBaseTooltip from './index.vue'
21
- // props
15
+
16
+ defineOptions({
17
+ name: 'BsgoalBaseTooltipDemo'
18
+ })
19
+
22
20
  const props = defineProps({
23
21
 
24
22
  })
@@ -8,16 +8,15 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: 'BsgoalBaseTooltip'
14
- }
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
19
14
  import { ref, computed, unref } from 'vue'
20
- // props
15
+
16
+ defineOptions({
17
+ name: 'BsgoalBaseTooltip'
18
+ })
19
+
21
20
  const props = defineProps({
22
21
  /**
23
22
  * 文字提示内容
@@ -8,18 +8,17 @@
8
8
  *
9
9
  -->
10
10
 
11
- <script>
12
- export default {
13
- name: 'BsgoalBaseTreeDemo'
14
- }
15
- </script>
16
11
  <script setup>
17
12
  /* setup模板
18
13
  ---------------------------------------------------------------- */
19
14
  import BsgoalBaseTree from './index.vue'
20
15
 
21
16
  import { ref } from 'vue'
22
- // props
17
+
18
+ defineOptions({
19
+ name: 'BsgoalBaseTreeDemo'
20
+ })
21
+
23
22
  const props = defineProps({})
24
23
 
25
24
  const treeData = ref([])