kui-vue 3.4.1 → 3.4.3
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/components/base/input.jsx +6 -5
- package/components/button/demo/group.md +22 -17
- package/components/checkbox/demo/base.md +3 -5
- package/components/checkbox/demo/group-vertical.md +10 -10
- package/components/checkbox/demo/group.md +9 -7
- package/components/checkbox/demo/options.md +2 -2
- package/components/colorPicker/styles/index.less +8 -0
- package/components/datePicker/datepicker.jsx +79 -62
- package/components/datePicker/demo/theme.md +1 -1
- package/components/descriptions/styles/index.less +41 -6
- package/components/drawer/demo/custom.md +2 -2
- package/components/drawer/demo/target.md +1 -1
- package/components/drawer/styles/index.less +2 -2
- package/components/form/demo/base.md +1 -1
- package/components/form/demo/info.md +23 -1
- package/components/image/demo/errors.md +2 -2
- package/components/image/demo/globle.md +2 -2
- package/components/image/demo/index.vue +1 -0
- package/components/image/image.jsx +3 -1
- package/components/image/preview.jsx +12 -2
- package/components/image/styles/index.less +25 -0
- package/components/input/demo/theme.md +1 -1
- package/components/input/styles/index.less +4 -1
- package/components/inputNumber/demo/format.md +1 -1
- package/components/inputNumber/inputNumber.jsx +2 -1
- package/components/inputNumber/styles/index.less +1 -0
- package/components/locale/lang/de.js +3 -0
- package/components/locale/lang/el.js +3 -0
- package/components/locale/lang/en.js +3 -0
- package/components/locale/lang/fr.js +3 -0
- package/components/locale/lang/it.js +3 -0
- package/components/locale/lang/ja.js +3 -0
- package/components/locale/lang/ko.js +3 -0
- package/components/locale/lang/ru.js +3 -0
- package/components/locale/lang/th.js +3 -0
- package/components/locale/lang/ua.js +3 -0
- package/components/locale/lang/vi.js +3 -0
- package/components/locale/lang/zh-CN.js +3 -0
- package/components/locale/lang/zh-TW.js +3 -0
- package/components/menu/styles/index.less +9 -2
- package/components/modal/styles/index.less +3 -0
- package/components/page/demo/base.md +10 -1
- package/components/page/demo/elevator.md +10 -1
- package/components/page/demo/more.md +10 -1
- package/components/page/demo/size.md +13 -4
- package/components/page/demo/sizer.md +4 -3
- package/components/page/page.jsx +13 -0
- package/components/radio/demo/base.md +3 -5
- package/components/radio/demo/disabled.md +2 -4
- package/components/radio/demo/group-vertical.md +8 -11
- package/components/radio/demo/group.md +10 -9
- package/components/radio/demo/options.md +2 -2
- package/components/radio/styles/index.less +1 -1
- package/components/select/demo/clearable.md +30 -22
- package/components/select/demo/icon.md +6 -4
- package/components/select/demo/theme.md +2 -2
- package/components/select/select.jsx +1 -1
- package/components/select/styles/index.less +10 -84
- package/components/switch/demo/base.md +4 -4
- package/components/switch/demo/disabled.md +7 -9
- package/components/switch/demo/index.vue +1 -6
- package/components/switch/demo/text.md +2 -8
- package/components/table/demo/base-render.md +3 -3
- package/components/table/demo/base.md +3 -1
- package/components/table/demo/custom-header.md +5 -1
- package/components/table/demo/expand.md +3 -1
- package/components/table/demo/selection.md +9 -5
- package/components/table/demo/size.md +3 -1
- package/components/table/styles/index.less +22 -22
- package/components/tree/styles/index.less +2 -1
- package/components/upload/demo/accept.md +2 -2
- package/components/upload/demo/custom.md +3 -3
- package/components/upload/demo/transform.md +3 -1
- package/components/upload/upload.jsx +12 -1
- package/dist/k-ui.css +2 -2
- package/dist/k-ui.js +2 -2
- package/dist/locale/de.js +2 -2
- package/dist/locale/el.js +2 -2
- package/dist/locale/en.js +2 -2
- package/dist/locale/fr.js +2 -2
- package/dist/locale/it.js +2 -2
- package/dist/locale/ja.js +2 -2
- package/dist/locale/ko.js +2 -2
- package/dist/locale/ru.js +2 -2
- package/dist/locale/th.js +2 -2
- package/dist/locale/ua.js +2 -2
- package/dist/locale/vi.js +2 -2
- package/dist/locale/zhCN.js +2 -2
- package/dist/locale/zhTW.js +2 -2
- package/package.json +1 -1
- /package/{readme.md → README.md} +0 -0
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
```vue
|
|
8
8
|
<template>
|
|
9
|
-
<
|
|
9
|
+
<Space>
|
|
10
10
|
<Button @click="open">Open Image</Button>
|
|
11
11
|
<Button @click="openMedia">Open Media</Button>
|
|
12
12
|
<Button @click="openGroup">Open Image group</Button>
|
|
13
|
-
</
|
|
13
|
+
</Space>
|
|
14
14
|
</template>
|
|
15
15
|
<script>
|
|
16
16
|
export default{
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import Icon from '../icon'
|
|
2
2
|
import createInstance from './instance'
|
|
3
3
|
// import { easyEqual } from '../_tool/utils'
|
|
4
|
-
import { Sync, IconImage } from 'kui-icons'
|
|
4
|
+
import { Sync, IconImage ,EyeOutline} from 'kui-icons'
|
|
5
|
+
import { t } from '../locale';
|
|
5
6
|
export default {
|
|
6
7
|
name: 'kImage',
|
|
7
8
|
props: {
|
|
@@ -162,6 +163,7 @@ export default {
|
|
|
162
163
|
{loading ? <div class="k-image-loading" key="wocao">
|
|
163
164
|
<Icon type={Sync} spin class="k-image-loading-icon" />
|
|
164
165
|
</div> : null}
|
|
166
|
+
{!loading && !error ?<div class="k-image-preview-mask"><Icon type={EyeOutline} />{t('k.image.preview')}</div>:null}
|
|
165
167
|
{this.$slots.default}
|
|
166
168
|
</div>
|
|
167
169
|
}
|
|
@@ -92,11 +92,17 @@ export default {
|
|
|
92
92
|
},
|
|
93
93
|
close() {
|
|
94
94
|
this.visible = false
|
|
95
|
-
this.scale = 1
|
|
96
|
-
this.rotate = 0
|
|
95
|
+
// this.scale = 1
|
|
96
|
+
// this.rotate = 0
|
|
97
97
|
this.$emit('input', false)
|
|
98
98
|
this.$emit('close')
|
|
99
99
|
},
|
|
100
|
+
mousewheel(e) {
|
|
101
|
+
let { deltaY } = e
|
|
102
|
+
this.setScale(deltaY && deltaY < 0)
|
|
103
|
+
e.stopPropagation()
|
|
104
|
+
e.preventDefault()
|
|
105
|
+
},
|
|
100
106
|
mousedown(e) {
|
|
101
107
|
if (this.$refs.imgRef && this.$refs.imgRef.contains(e.target)) {
|
|
102
108
|
if (e.button && e.button != 0) return;
|
|
@@ -249,12 +255,16 @@ export default {
|
|
|
249
255
|
return null
|
|
250
256
|
}
|
|
251
257
|
},
|
|
258
|
+
beforeDestroy() {
|
|
259
|
+
document.removeEventListener('mousewheel', this.mousewheel)
|
|
260
|
+
},
|
|
252
261
|
mounted() {
|
|
253
262
|
if (!this.$isServer) {
|
|
254
263
|
let touch = !!(('ontouchstart' in window) || window.DocumentTouch && document instanceof window.DocumentTouch)
|
|
255
264
|
this.touch = touch
|
|
256
265
|
let even = touch ? 'touchstart' : 'mousedown'
|
|
257
266
|
document.addEventListener(even, this.mousedown, { passive: false })
|
|
267
|
+
document.addEventListener('mousewheel', this.mousewheel, { passive: false })
|
|
258
268
|
}
|
|
259
269
|
},
|
|
260
270
|
render(h) {
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
display: inline-block;
|
|
6
6
|
text-align: center;
|
|
7
7
|
line-height: 1;
|
|
8
|
+
overflow: hidden;
|
|
8
9
|
|
|
9
10
|
.k-image-img {
|
|
10
11
|
width: 100%;
|
|
@@ -34,6 +35,30 @@
|
|
|
34
35
|
top: 50%;
|
|
35
36
|
transform: translateX(-50%) translateY(-50%);
|
|
36
37
|
}
|
|
38
|
+
|
|
39
|
+
.k-image-preview-mask {
|
|
40
|
+
opacity: 0;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
position: absolute;
|
|
45
|
+
width: 100%;
|
|
46
|
+
height: 100%;
|
|
47
|
+
left: 0;
|
|
48
|
+
top: 0;
|
|
49
|
+
font-size: 14px;
|
|
50
|
+
color: #fff;
|
|
51
|
+
background-color: var(--kui-color-mask);
|
|
52
|
+
gap: 10px;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
transition: opacity .3s cubic-bezier(0.39, 0.575, 0.565, 1);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:hover {
|
|
58
|
+
.k-image-preview-mask {
|
|
59
|
+
opacity: 1;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
37
62
|
}
|
|
38
63
|
|
|
39
64
|
.k-image-preview {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
8
|
<div style="width:512px;">
|
|
9
|
-
<Checkbox label="
|
|
9
|
+
<Checkbox label="Circle" v-model="isShape"/>
|
|
10
10
|
<br/>
|
|
11
11
|
<br/>
|
|
12
12
|
<Input placeholder="请输入内容..." @blur="blur" @focus="focus" @change="change" theme="light" :shape="shape"/>
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
gap: 6px;
|
|
19
19
|
height: 32px;
|
|
20
20
|
overflow: hidden;
|
|
21
|
+
line-height: 1.571;
|
|
21
22
|
|
|
22
23
|
&:hover {
|
|
23
24
|
border-color: var(--kui-color-main);
|
|
@@ -49,6 +50,7 @@
|
|
|
49
50
|
box-sizing: border-box;
|
|
50
51
|
flex: 1;
|
|
51
52
|
min-width: 10px;
|
|
53
|
+
line-height: 1.571;
|
|
52
54
|
|
|
53
55
|
&:focus {
|
|
54
56
|
// border-color: var(--kui-color-main);
|
|
@@ -110,6 +112,7 @@
|
|
|
110
112
|
cursor: text;
|
|
111
113
|
transition: border .3s ease-in-out;
|
|
112
114
|
flex-shrink: 0;
|
|
115
|
+
line-height: 1.571;
|
|
113
116
|
|
|
114
117
|
&:focus {
|
|
115
118
|
// box-shadow: 0 0 5px rgba(59, 180, 242, 0.55);
|
|
@@ -166,7 +169,7 @@ select:-webkit-autofill:focus {
|
|
|
166
169
|
height: auto;
|
|
167
170
|
vertical-align: bottom;
|
|
168
171
|
font-size: 14px;
|
|
169
|
-
line-height: 1.
|
|
172
|
+
line-height: 1.571;
|
|
170
173
|
resize: vertical;
|
|
171
174
|
outline: none;
|
|
172
175
|
}
|
|
@@ -121,6 +121,7 @@ export default {
|
|
|
121
121
|
},
|
|
122
122
|
blurHandle(e) {
|
|
123
123
|
let v = this.getVal(e.target.value)
|
|
124
|
+
// console.log(v)
|
|
124
125
|
// console.log(e.target.value)
|
|
125
126
|
this.defaultValue = v + ''
|
|
126
127
|
// console.log('blur1', v)
|
|
@@ -142,7 +143,7 @@ export default {
|
|
|
142
143
|
},
|
|
143
144
|
provide() {
|
|
144
145
|
return {
|
|
145
|
-
|
|
146
|
+
InputNumber: this
|
|
146
147
|
}
|
|
147
148
|
},
|
|
148
149
|
render() {
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
opacity: 1;
|
|
44
44
|
white-space: nowrap;
|
|
45
45
|
transition: all .3s ease-in-out;
|
|
46
|
+
line-height: 1.571;
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
.k-menu-item-icon {
|
|
@@ -85,7 +86,10 @@
|
|
|
85
86
|
height: 40px;
|
|
86
87
|
display: flex;
|
|
87
88
|
align-items: center;
|
|
88
|
-
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.k-dropdown-menu-item {
|
|
92
|
+
height: 32px;
|
|
89
93
|
}
|
|
90
94
|
|
|
91
95
|
.k-dropdown-menu-submenu-title,
|
|
@@ -257,6 +261,9 @@
|
|
|
257
261
|
&:hover {
|
|
258
262
|
background-color: var(--kui-color-hover);
|
|
259
263
|
}
|
|
264
|
+
&:active {
|
|
265
|
+
background-color: var(--kui-color-actived);
|
|
266
|
+
}
|
|
260
267
|
}
|
|
261
268
|
|
|
262
269
|
.k-menu-submenu-sub {
|
|
@@ -645,7 +652,7 @@
|
|
|
645
652
|
.k-menu-submenu-popup-enter-active {
|
|
646
653
|
|
|
647
654
|
&[k-placement="bottom-left"],
|
|
648
|
-
&[k-placement="bottom-right"]
|
|
655
|
+
&[k-placement="bottom-right"],
|
|
649
656
|
&[k-placement="top-left"],
|
|
650
657
|
&[k-placement="top-right"] {
|
|
651
658
|
animation: drop-down .3s;
|
|
@@ -169,12 +169,15 @@
|
|
|
169
169
|
left: 0;
|
|
170
170
|
border-radius: 0;
|
|
171
171
|
|
|
172
|
+
|
|
172
173
|
.k-modal-footer {
|
|
173
174
|
position: absolute;
|
|
174
175
|
width: 100%;
|
|
175
176
|
bottom: 0;
|
|
176
177
|
left: 0;
|
|
177
178
|
background: var(--kui-color-control-10);
|
|
179
|
+
box-sizing: border-box;
|
|
180
|
+
padding-right: 20px;
|
|
178
181
|
}
|
|
179
182
|
}
|
|
180
183
|
}
|
|
@@ -6,7 +6,16 @@
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
8
|
<div class="demo-page">
|
|
9
|
-
<Page :current="
|
|
9
|
+
<Page v-model:current="current" :total="50"/>
|
|
10
10
|
</div>
|
|
11
11
|
</template>
|
|
12
|
+
<script>
|
|
13
|
+
export default{
|
|
14
|
+
data(){
|
|
15
|
+
return {
|
|
16
|
+
current:1
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
</script>
|
|
12
21
|
```
|
|
@@ -6,7 +6,16 @@
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
8
|
<div class="demo-page">
|
|
9
|
-
<Page :current="
|
|
9
|
+
<Page v-model:current="current" :total="200" show-elevator/>
|
|
10
10
|
</div>
|
|
11
11
|
</template>
|
|
12
|
+
<script>
|
|
13
|
+
export default{
|
|
14
|
+
data(){
|
|
15
|
+
return {
|
|
16
|
+
current:10
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
</script>
|
|
12
21
|
```
|
|
@@ -6,7 +6,16 @@
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
8
|
<div class="demo-page">
|
|
9
|
-
<Page :current="
|
|
9
|
+
<Page v-model:current="current" :total="200"/>
|
|
10
10
|
</div>
|
|
11
11
|
</template>
|
|
12
|
+
<script>
|
|
13
|
+
export default{
|
|
14
|
+
data(){
|
|
15
|
+
return {
|
|
16
|
+
current:10
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
</script>
|
|
12
21
|
```
|
|
@@ -6,10 +6,19 @@
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
8
|
<div class="demo-page">
|
|
9
|
-
<Page :current="
|
|
10
|
-
<Page :current="
|
|
11
|
-
<Page :current="
|
|
12
|
-
<Page :current="
|
|
9
|
+
<Page :current="current" :total="50" size="small"/>
|
|
10
|
+
<Page :current="current" :total="50" size="small" show-sizer/>
|
|
11
|
+
<Page :current="current" :total="50" size="small" show-elevator/>
|
|
12
|
+
<Page :current="current" :total="50" size="small" show-elevator show-total/>
|
|
13
13
|
</div>
|
|
14
14
|
</template>
|
|
15
|
+
<script>
|
|
16
|
+
export default{
|
|
17
|
+
data(){
|
|
18
|
+
return {
|
|
19
|
+
current:1
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
</script>
|
|
15
24
|
```
|
|
@@ -6,15 +6,16 @@
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
8
|
<div class="demo-page">
|
|
9
|
-
<Page :current="
|
|
10
|
-
<Page :current="
|
|
11
|
-
<Page :current="
|
|
9
|
+
<Page v-model:current="current" :total="200" showSizer/>
|
|
10
|
+
<Page v-model:current="current" :total="200" showSizer :page-size="20"/>
|
|
11
|
+
<Page v-model:current="current" :total="1000" showSizer :page-size="30" :size-data="sizeData"/>
|
|
12
12
|
</div>
|
|
13
13
|
</template>
|
|
14
14
|
<script>
|
|
15
15
|
export default{
|
|
16
16
|
data() {
|
|
17
17
|
return {
|
|
18
|
+
current: 3,
|
|
18
19
|
sizeData:[30,50,80,100]
|
|
19
20
|
}
|
|
20
21
|
}
|
package/components/page/page.jsx
CHANGED
|
@@ -21,6 +21,10 @@ export default {
|
|
|
21
21
|
pageSize: { default: 10, type: Number },
|
|
22
22
|
current: { default: 1, type: Number }
|
|
23
23
|
},
|
|
24
|
+
model: {
|
|
25
|
+
prop: 'current',
|
|
26
|
+
event: 'input'
|
|
27
|
+
},
|
|
24
28
|
data() {
|
|
25
29
|
return {
|
|
26
30
|
nextPageGroup: false,
|
|
@@ -51,6 +55,8 @@ export default {
|
|
|
51
55
|
this.pageCount = Math.ceil(this.total / this.defaultPageSize) || 1;
|
|
52
56
|
if (this.page > this.pageCount) {
|
|
53
57
|
this.page = this.pageCount
|
|
58
|
+
this.$emit('input', this.page)
|
|
59
|
+
this.$emit('change', this.page)
|
|
54
60
|
}
|
|
55
61
|
},
|
|
56
62
|
renderPage() {
|
|
@@ -121,16 +127,19 @@ export default {
|
|
|
121
127
|
prePage() {
|
|
122
128
|
if (this.page > 1) {
|
|
123
129
|
this.page--;
|
|
130
|
+
this.$emit('input', this.page)
|
|
124
131
|
this.$emit('change', this.page)
|
|
125
132
|
}
|
|
126
133
|
},
|
|
127
134
|
nextPage() {
|
|
128
135
|
if (this.page < this.pageCount) {
|
|
129
136
|
this.page++;
|
|
137
|
+
this.$emit('input', this.page)
|
|
130
138
|
this.$emit('change', this.page)
|
|
131
139
|
}
|
|
132
140
|
},
|
|
133
141
|
toPage(page) {
|
|
142
|
+
if (page == this.page) return;
|
|
134
143
|
if (page <= 1) {
|
|
135
144
|
page = 1
|
|
136
145
|
this.prevPageGroup = false
|
|
@@ -140,6 +149,7 @@ export default {
|
|
|
140
149
|
page = this.pageCount
|
|
141
150
|
}
|
|
142
151
|
this.page = page
|
|
152
|
+
this.$emit('input', page)
|
|
143
153
|
this.$emit('change', page)
|
|
144
154
|
},
|
|
145
155
|
changeSize({ value }) {
|
|
@@ -147,6 +157,8 @@ export default {
|
|
|
147
157
|
this.pageCount = Math.ceil(this.total / this.defaultPageSize) || 1;
|
|
148
158
|
if (this.page > this.pageCount) {
|
|
149
159
|
this.page = this.pageCount
|
|
160
|
+
this.$emit('input', page)
|
|
161
|
+
this.$emit('change', page)
|
|
150
162
|
}
|
|
151
163
|
this.$emit('page-size-change', { current: this.page, pageSize: value })
|
|
152
164
|
},
|
|
@@ -198,6 +210,7 @@ export default {
|
|
|
198
210
|
|
|
199
211
|
if ((page >= 1 || page <= pageCount) && this.page != page) {
|
|
200
212
|
this.page = page
|
|
213
|
+
this.$emit('input', page)
|
|
201
214
|
this.$emit('change', page)
|
|
202
215
|
}
|
|
203
216
|
},
|
|
@@ -5,14 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
|
-
<
|
|
9
|
-
|
|
8
|
+
<Space>
|
|
9
|
+
{{checked}}
|
|
10
10
|
<Radio v-model="checked">Radio</Radio>
|
|
11
11
|
<Button @click="checked=!checked" size="small">{{checked?'Uncheck':'Check'}}</Button>
|
|
12
|
-
<br/>
|
|
13
|
-
<br/>
|
|
14
12
|
<Radio label="Radio"/>
|
|
15
|
-
</
|
|
13
|
+
</Space>
|
|
16
14
|
</template>
|
|
17
15
|
<script>
|
|
18
16
|
export default{
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
|
-
<
|
|
8
|
+
<Space>
|
|
9
9
|
<Radio disabled>disabled</Radio>
|
|
10
10
|
<Radio disabled :value="true">disabled</Radio>
|
|
11
|
-
<br/>
|
|
12
|
-
<br/>
|
|
13
11
|
<Radio :disabled="disabled" v-model="checked">Radio</Radio>
|
|
14
12
|
<Button @click="checked=!checked" size="small">{{checked?'Checked':'Uncheck'}}</Button>
|
|
15
13
|
<Button @click="disabled=!disabled" size="small">{{disabled?'Enable':'Disabled'}}</Button>
|
|
16
|
-
</
|
|
14
|
+
</Space>
|
|
17
15
|
</template>
|
|
18
16
|
<script>
|
|
19
17
|
export default{
|
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
|
-
<
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<br />
|
|
8
|
+
<Space vertical align="start">
|
|
9
|
+
<Space>
|
|
10
|
+
Selected:{{data}}</p>
|
|
11
|
+
<Button @click="data=''" size="small">Clear</Button>
|
|
12
|
+
<Button @click="data='apple'" size="small">Select apple</Button>
|
|
13
|
+
</Space>
|
|
15
14
|
<RadioGroup v-model="data" direction="vertical">
|
|
16
15
|
<Radio label="Apple" value="apple" />
|
|
17
16
|
<Radio label="Orange" value="orange" />
|
|
@@ -19,11 +18,9 @@
|
|
|
19
18
|
<Radio label="Grape" value="grape" disabled/>
|
|
20
19
|
<Radio label="Pear" value="pear" disabled/>
|
|
21
20
|
</RadioGroup>
|
|
22
|
-
|
|
23
|
-
<p>{{cities}}</p>
|
|
24
|
-
<br/>
|
|
21
|
+
{{cities}}
|
|
25
22
|
<RadioGroup :options="options" v-model="cities" direction="vertical"/>
|
|
26
|
-
</
|
|
23
|
+
</Space>
|
|
27
24
|
</template>
|
|
28
25
|
<script>
|
|
29
26
|
export default {
|