zartui 1.0.13 → 1.0.14
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/es/cascader/index.js +4 -2
- package/es/index.js +1 -1
- package/lib/a037f57fc4d92a8a1f1e.worker.js +60600 -0
- package/lib/b7cf90b4775181215df7.worker.js +10 -0
- package/lib/cascader/index.js +4 -2
- package/lib/index.js +1 -1
- package/lib/zart.js +49386 -17164
- package/lib/zart.min.js +4 -4
- package/package.json +1 -1
- package/lib/7893e51cf0a4877dac80.worker.js +0 -10
- package/lib/be09b519a460e229fd8d.worker.js +0 -2527
package/es/cascader/index.js
CHANGED
|
@@ -146,7 +146,9 @@ export default createComponent({
|
|
|
146
146
|
this.tabs = this.tabs.slice(0, tabIndex + 1);
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
|
|
149
|
+
var hasChildren = option[this.childrenKey] && option[this.childrenKey].length > 0;
|
|
150
|
+
|
|
151
|
+
if (hasChildren) {
|
|
150
152
|
var nextTab = {
|
|
151
153
|
options: option[this.childrenKey],
|
|
152
154
|
selectedOption: null
|
|
@@ -176,7 +178,7 @@ export default createComponent({
|
|
|
176
178
|
this.$emit('input', option[this.valueKey]);
|
|
177
179
|
this.$emit('change', eventParams);
|
|
178
180
|
|
|
179
|
-
if (!
|
|
181
|
+
if (!hasChildren) {
|
|
180
182
|
this.$emit('finish', eventParams);
|
|
181
183
|
}
|
|
182
184
|
},
|
package/es/index.js
CHANGED
|
@@ -76,7 +76,7 @@ import Tag from './tag';
|
|
|
76
76
|
import Timeline from './timeline';
|
|
77
77
|
import Toast from './toast';
|
|
78
78
|
import Uploader from './uploader';
|
|
79
|
-
var version = '1.0.
|
|
79
|
+
var version = '1.0.14';
|
|
80
80
|
|
|
81
81
|
function install(Vue) {
|
|
82
82
|
var components = [ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapseItem, CountDown, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, FoldDialog, Form, Grid, GridItem, HierarchySelect, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, MediaPicker, MediaPlayer, MultiplePicker, NavBar, NoticeBar, NumberKeyboard, Overlay, PasswordInput, PdfViewer, PdfViewerV2, Picker, Popover, Popup, PullRefresh, Radio, RadioGroup, Rate, Row, Search, Signature, Skeleton, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, Tabs, Tag, Timeline, Toast, Uploader];
|