doway-coms 2.10.83 → 3.0.1
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": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "doway组件库",
|
|
5
5
|
"author": "dowaysoft",
|
|
6
6
|
"main": "packages/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"vue-router": "3.6.5",
|
|
26
26
|
"vuedraggable": "^2.24.3",
|
|
27
27
|
"vuex": "3.6.2",
|
|
28
|
-
"vxe-table": "3.
|
|
28
|
+
"vxe-table": "3.12.9",
|
|
29
29
|
"xe-clipboard": "1.10.2",
|
|
30
30
|
"xe-utils": "3.5.4"
|
|
31
31
|
},
|
|
@@ -3115,6 +3115,12 @@ export default {
|
|
|
3115
3115
|
},
|
|
3116
3116
|
async cellClick({ row, column }) {
|
|
3117
3117
|
this.$emit('cellClick', { row, column })
|
|
3118
|
+
|
|
3119
|
+
if(column.field==='operation'){
|
|
3120
|
+
//点击操作栏按钮无需开启编辑,要不然数据多的情况下,连续点击删除按钮会照成卡顿
|
|
3121
|
+
return
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3118
3124
|
//判断是否可以跳转
|
|
3119
3125
|
// if (
|
|
3120
3126
|
// this.gridEdit != true ||
|
package/packages/index.js
CHANGED
|
@@ -68,6 +68,9 @@ const components = [
|
|
|
68
68
|
import 'vxe-table/lib/style.css'
|
|
69
69
|
import VXETable from 'vxe-table'
|
|
70
70
|
|
|
71
|
+
import VxeUI from 'vxe-pc-ui'
|
|
72
|
+
import 'vxe-pc-ui/lib/style.css'
|
|
73
|
+
|
|
71
74
|
const popupInterceptor = (params) => {
|
|
72
75
|
// 比如点击了某个组件的弹出层面板之后,此时被激活单元格不应该被自动关闭,通过返回 false 可以阻止默认的行为。
|
|
73
76
|
let parentElement =
|
|
@@ -114,6 +117,7 @@ Vue.use(Contextmenu)
|
|
|
114
117
|
const install = function (Vue) {
|
|
115
118
|
//注册grid组件
|
|
116
119
|
Vue.use(VXETable)
|
|
120
|
+
Vue.use(VxeUI)
|
|
117
121
|
// 遍历注册全局组件
|
|
118
122
|
components.forEach((component) => {
|
|
119
123
|
Vue.component(component.name, component)
|