@xuekl/cli-components 1.0.4 → 1.0.6
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/ContextMenu.vue +3 -3
- package/XklButton.vue +1 -1
- package/XklLink.vue +1 -1
- package/XklSelect.vue +1 -1
- package/package.json +1 -1
package/ContextMenu.vue
CHANGED
|
@@ -19,7 +19,7 @@ export default {
|
|
|
19
19
|
}
|
|
20
20
|
</script>
|
|
21
21
|
<script setup lang="ts">
|
|
22
|
-
import { LocalMenu } from '
|
|
22
|
+
import { LocalMenu } from '@xuekl/cli-base/type'
|
|
23
23
|
import { Ref, ref } from 'vue';
|
|
24
24
|
const props = defineProps(['position', 'type'])
|
|
25
25
|
const emit = defineEmits(['result'])
|
|
@@ -70,7 +70,7 @@ const resultSend = (item: LocalMenu) => {
|
|
|
70
70
|
background-color: #000;
|
|
71
71
|
color: #fff;
|
|
72
72
|
border-radius: 4px;
|
|
73
|
-
box-shadow:
|
|
73
|
+
box-shadow: 1px 1px 2px 1px #ccc;
|
|
74
74
|
|
|
75
75
|
.menu_item {
|
|
76
76
|
width: 110px;
|
|
@@ -102,7 +102,7 @@ const resultSend = (item: LocalMenu) => {
|
|
|
102
102
|
background-color: #000;
|
|
103
103
|
color: #fff;
|
|
104
104
|
border-radius: 4px;
|
|
105
|
-
box-shadow:
|
|
105
|
+
box-shadow: 1px 1px 2px 1px #ccc;
|
|
106
106
|
position: absolute;
|
|
107
107
|
left: 100%;
|
|
108
108
|
top: 0;
|
package/XklButton.vue
CHANGED
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
</script>
|
|
11
11
|
<script setup lang="ts">
|
|
12
12
|
import { ElButton as RealElButton } from 'element-plus'
|
|
13
|
-
import { componentGlobal } from '
|
|
13
|
+
import { componentGlobal } from '@xuekl/cli-base/global'
|
|
14
14
|
import { isAuth } from '@/utils'
|
|
15
15
|
const props = defineProps(['auth'])
|
|
16
16
|
const emit = defineEmits(['click', 'async'])
|
package/XklLink.vue
CHANGED
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
</script>
|
|
11
11
|
<script setup lang="ts">
|
|
12
12
|
import { ElLink as RealElLink } from 'element-plus'
|
|
13
|
-
import { componentGlobal } from '
|
|
13
|
+
import { componentGlobal } from '@xuekl/cli-base/global'
|
|
14
14
|
import { isAuth } from '@/utils'
|
|
15
15
|
const props = defineProps(['auth'])
|
|
16
16
|
const emit = defineEmits(['click', 'async'])
|
package/XklSelect.vue
CHANGED
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
</script>
|
|
11
11
|
<script setup lang="ts">
|
|
12
12
|
import { onBeforeMount, ref, Ref, watch } from 'vue'
|
|
13
|
-
import { SelectItem } from '
|
|
13
|
+
import { SelectItem } from '@xuekl/cli-base/type'
|
|
14
14
|
import http from "@/utils/httpRequest"
|
|
15
15
|
const props = defineProps(['config', 'list'])
|
|
16
16
|
const emit = defineEmits(['update:label'])
|