doway-coms 1.4.48 → 1.4.49

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,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.4.48",
3
+ "version": "1.4.49",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
package/packages/index.js CHANGED
@@ -76,10 +76,11 @@ VXETable.interceptor.add('event.clearFilter', (params) => {
76
76
 
77
77
  //表格自定义格式化
78
78
  import './utils/gridFormat'
79
-
79
+ // 右键菜单插件
80
+ import Contextmenu from "vue-contextmenujs"
80
81
 
81
82
  const install = function (Vue) {
82
-
83
+ Vue.use(Contextmenu);
83
84
  //注册grid组件
84
85
  Vue.use(VXETable)
85
86
 
@@ -11,10 +11,9 @@
11
11
  flex:1;
12
12
  width: 100%;
13
13
  height: 30px;
14
- word-wrap: 'break-word';
15
- overflow:hidden;
14
+ overflow: hidden;
15
+ white-space: nowrap;
16
16
  text-overflow: ellipsis;
17
- -webkit-line-clamp: 3;
18
17
  }
19
18
  .d-control-label-required{
20
19
  color:red;