doway-coms 1.4.51 → 1.4.53
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,8 +43,6 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
|
|
45
45
|
<script>
|
|
46
|
-
// 右键菜单
|
|
47
|
-
import Contextmenu from "vue-contextmenujs"
|
|
48
46
|
//VXETable插件
|
|
49
47
|
import VXETable from "vxe-table";
|
|
50
48
|
//轻量级剪贴板复制函数
|
|
@@ -57,7 +55,6 @@ export default {
|
|
|
57
55
|
Input,
|
|
58
56
|
ValidationProvider,
|
|
59
57
|
Tooltip,
|
|
60
|
-
Contextmenu,
|
|
61
58
|
},
|
|
62
59
|
data() {
|
|
63
60
|
return {
|
package/packages/index.js
CHANGED
|
@@ -79,18 +79,20 @@ import './utils/gridFormat'
|
|
|
79
79
|
// 右键菜单插件
|
|
80
80
|
import Contextmenu from "vue-contextmenujs"
|
|
81
81
|
|
|
82
|
+
Vue.use(Contextmenu);
|
|
83
|
+
|
|
82
84
|
const install = function (Vue) {
|
|
83
|
-
Vue.use(Contextmenu);
|
|
84
85
|
//注册grid组件
|
|
85
86
|
Vue.use(VXETable)
|
|
86
|
-
|
|
87
|
+
Vue.use(Contextmenu)
|
|
87
88
|
// 遍历注册全局组件
|
|
88
89
|
components.forEach((component) => {
|
|
89
90
|
Vue.component(component.name, component);
|
|
90
91
|
});
|
|
91
92
|
};
|
|
92
93
|
|
|
93
|
-
//
|
|
94
|
+
// 环境监测
|
|
95
|
+
// 判断是否是直接引入文件
|
|
94
96
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
95
97
|
install(window.Vue);
|
|
96
98
|
}
|