@lx-frontend/wrap-element-ui 1.0.17-beta.1 → 1.0.17-beta.2

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,10 +1,22 @@
1
1
  {
2
2
  "name": "@lx-frontend/wrap-element-ui",
3
- "version": "1.0.17-beta.1",
3
+ "version": "1.0.17-beta.2",
4
4
  "description": "wrap-element-ui",
5
5
  "author": "",
6
6
  "main": "src/components/index.ts",
7
7
  "private": false,
8
+ "scripts": {
9
+ "clean": "rimraf dist",
10
+ "dev": "cross-env MODE=development storybook dev -p 6006",
11
+ "dist": "cross-env MODE=production pnpm build:lib && storybook dev -p 6006",
12
+ "build:lib": "pnpm clean && vite build",
13
+ "build:sb": "cross-env MODE=production rimraf storybook-static && pnpm build:lib && storybook build",
14
+ "preview": "serve ./storybook-static",
15
+ "publish:dev": "npm publish --access public --tag beta",
16
+ "publish:prod": "npm publish --access public",
17
+ "cdn": "gulp oss",
18
+ "lint": "eslint src"
19
+ },
8
20
  "files": [
9
21
  "README.md",
10
22
  "package.json",
@@ -57,17 +69,5 @@
57
69
  "vite-plugin-lib-inject-css": "^2.1.1",
58
70
  "vite-tsconfig-paths": "^4.3.2",
59
71
  "vue-template-compiler": "^2.6.10"
60
- },
61
- "scripts": {
62
- "clean": "rimraf dist",
63
- "dev": "cross-env MODE=development storybook dev -p 6006",
64
- "dist": "cross-env MODE=production pnpm build:lib && storybook dev -p 6006",
65
- "build:lib": "pnpm clean && vite build",
66
- "build:sb": "cross-env MODE=production rimraf storybook-static && pnpm build:lib && storybook build",
67
- "preview": "serve ./storybook-static",
68
- "publish:dev": "npm publish --access public --tag beta",
69
- "publish:prod": "npm publish --access public",
70
- "cdn": "gulp oss",
71
- "lint": "eslint src"
72
72
  }
73
73
  }
@@ -231,7 +231,7 @@
231
231
  <!-- 自定义编辑 -->
232
232
  <slot
233
233
  v-if="column.editSlotName"
234
- v-bind="returnAnyType({ scope, column })"
234
+ v-bind="{scope, column}"
235
235
  :name="column.editSlotName"
236
236
  />
237
237
  <!-- 内置编辑类型 -->
@@ -425,10 +425,6 @@ const showingColumns = ref<string[]>([]); // 表格中实际展示的列
425
425
  const leftFixedColumnCount = ref(0) // 左侧固定列数量
426
426
  const viewSettingDragSortOptions = ref<IColumnConfig[]>([])
427
427
 
428
- const returnAnyType = (params): any => {
429
- return params
430
- }
431
-
432
428
  const actualColumns = computed(() => {
433
429
  const res: IColumnConfig[] = [];
434
430
  let cnt = leftFixedColumnCount.value;
@@ -66,6 +66,7 @@
66
66
  @change="(...args) => changeCb && changeCb(...args)"
67
67
  :value="formData[prop]"
68
68
  format="yyyy-MM-dd"
69
+ value-format="yyyy-MM-dd"
69
70
  :type="dateType"
70
71
  range-separator="到"
71
72
  :placeholder="dateType == 'date' ? placeholder || '选择日期' : '选择日期范围'"