cnhis-design-vue 0.3.4-beta → 0.3.5-beta

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
3
  "private": false,
4
- "version": "0.3.4-beta",
4
+ "version": "0.3.5-beta",
5
5
  "main": "es/index.js",
6
6
  "scripts": {
7
7
  "dev": "vite --host --port 3200",
@@ -176,7 +176,7 @@ import NoData from "./components/NoData.vue";
176
176
  import TextOverTooltip from "./components/TextOverTooltip.vue";
177
177
  // import SvgIcon from '@/component/svg/index.vue';
178
178
  import SvgIcon from "./components/SvgIcon.vue";
179
- import EditForm from './components/edit-form/EditForm.vue';
179
+ // import EditForm from './components/edit-form/EditForm.vue';
180
180
  import {
181
181
  NButton,
182
182
  NCheckbox,
@@ -685,9 +685,10 @@ const formatter = (params: any, col: any) => {
685
685
  // console.log(dynamicProps);
686
686
  // loading 使用
687
687
  emit("setWaitEditKeys", column.property);
688
- return [
689
- <EditForm class={`js-inlineEditForm`} key={row[props.primaryKey] + $rowIndex + column.property} data-key={row[props.primaryKey] + $rowIndex + column.property} {...dynamicProps}></EditForm>
690
- ];
688
+ return null
689
+ // return [
690
+ // <EditForm class={`js-inlineEditForm`} key={row[props.primaryKey] + $rowIndex + column.property} data-key={row[props.primaryKey] + $rowIndex + column.property} {...dynamicProps}></EditForm>
691
+ // ];
691
692
  }
692
693
  }
693
694
 
@@ -1,11 +1,11 @@
1
- const requireComponent = import.meta.globEager("./edit.*?\.(vue|ts)$/");
1
+ // const requireComponent = import.meta.globEager("./edit.*?\.(vue|ts)$/");
2
2
 
3
- let cmps: any= {};
4
- Object.values(requireComponent).forEach(cmp => {
5
- cmps[cmp.name] = cmp;
6
- })
3
+ // let cmps: any= {};
4
+ // Object.values(requireComponent).forEach(cmp => {
5
+ // cmps[cmp.name] = cmp;
6
+ // })
7
7
 
8
- console.log(cmps, "cmps");
8
+ // console.log(cmps, "cmps");
9
9
  export default {
10
10
  data() {
11
11
  return {};
@@ -13,6 +13,6 @@ export default {
13
13
  computed: {},
14
14
  methods: {
15
15
  },
16
- components: cmps
16
+ // components: cmps
17
17
  };
18
18