doway-coms 1.4.48 → 1.4.50
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
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
|
|
45
45
|
<script>
|
|
46
|
+
// 右键菜单
|
|
47
|
+
import Contextmenu from "vue-contextmenujs"
|
|
46
48
|
//VXETable插件
|
|
47
49
|
import VXETable from "vxe-table";
|
|
48
50
|
//轻量级剪贴板复制函数
|
|
@@ -55,6 +57,7 @@ export default {
|
|
|
55
57
|
Input,
|
|
56
58
|
ValidationProvider,
|
|
57
59
|
Tooltip,
|
|
60
|
+
Contextmenu,
|
|
58
61
|
},
|
|
59
62
|
data() {
|
|
60
63
|
return {
|
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
|
|