@xilonglab/vue-main 1.3.25 → 1.3.26
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/dist/page/login.vue +1 -1
- package/package.json +1 -1
- package/packages/index.js +7 -0
- package/packages/view/XlDataView.vue +4 -1
package/dist/page/login.vue
CHANGED
package/package.json
CHANGED
package/packages/index.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
import '@imengyu/vue3-context-menu/lib/vue3-context-menu.css'
|
|
2
|
+
import ContextMenu from '@imengyu/vue3-context-menu'
|
|
3
|
+
|
|
1
4
|
const components = import.meta.glob('./**/*.vue', { eager: true });
|
|
2
5
|
|
|
3
6
|
const install = (app) => {
|
|
7
|
+
// 注册 ContextMenu 插件
|
|
8
|
+
app.use(ContextMenu)
|
|
9
|
+
|
|
10
|
+
// 注册所有组件
|
|
4
11
|
Object.values(components).forEach((component) => {
|
|
5
12
|
app.component(component.default.name, component.default);
|
|
6
13
|
});
|
|
@@ -199,9 +199,12 @@ const { refs, api, params, obj, chartOptions, total } = inject('injections')
|
|
|
199
199
|
|
|
200
200
|
<style lang="less">
|
|
201
201
|
.xl-data-view {
|
|
202
|
+
div.buttons{
|
|
203
|
+
padding-right:40px;
|
|
204
|
+
}
|
|
205
|
+
|
|
202
206
|
div.cell {
|
|
203
207
|
padding: 0 !important;
|
|
204
|
-
|
|
205
208
|
}
|
|
206
209
|
|
|
207
210
|
.clamp(@lines) {
|