提交 ca6a1712 编写于 作者: D dolymood

build: package

上级 0a3fe42c
此差异已折叠。
......@@ -7226,7 +7226,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
}
var Cube = {
version: "1.12.30",
version: "1.12.31",
install: install,
BScroll: _module.BetterScroll,
createAPI: _module.createAPI
......@@ -17520,13 +17520,15 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
if (this.isVisible || !this.data.length) {
return;
}
this.isVisible = true;
this.currentPicker.show();
},
hide: function hide() {
if (!this.isVisible || !this.data.length) {
return;
}
this.$refs.currentPicker.hide();
this.isVisible = false;
this.currentPicker.hide();
},
_select: function _select() {
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
......@@ -17542,6 +17544,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.current++;
this.currentPicker.show();
} else {
this.isVisible = false;
this.$emit(EVENT_SELECT, this.selectedVal, this.selectedIndex, this.selectedText);
this.current = 0;
}
......@@ -17556,6 +17559,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.current--;
this.currentPicker.show();
} else {
this.isVisible = false;
this.$emit(EVENT_CANCEL);
}
},
......@@ -17577,6 +17581,12 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
directives: [{
name: "show",
rawName: "v-show",
value: (_vm.isVisible),
expression: "isVisible"
}],
staticClass: "cube-segment-picker"
}, _vm._l((_vm.data), function(item, index) {
return _c(item.is || 'cube-picker', _vm._b({
......
......@@ -8061,13 +8061,15 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
if (this.isVisible || !this.data.length) {
return;
}
this.isVisible = true;
this.currentPicker.show();
},
hide: function hide() {
if (!this.isVisible || !this.data.length) {
return;
}
this.$refs.currentPicker.hide();
this.isVisible = false;
this.currentPicker.hide();
},
_select: function _select() {
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
......@@ -8083,6 +8085,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.current++;
this.currentPicker.show();
} else {
this.isVisible = false;
this.$emit(EVENT_SELECT, this.selectedVal, this.selectedIndex, this.selectedText);
this.current = 0;
}
......@@ -8097,6 +8100,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.current--;
this.currentPicker.show();
} else {
this.isVisible = false;
this.$emit(EVENT_CANCEL);
}
},
......@@ -8118,6 +8122,12 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
directives: [{
name: "show",
rawName: "v-show",
value: (_vm.isVisible),
expression: "isVisible"
}],
staticClass: "cube-segment-picker"
}, _vm._l((_vm.data), function(item, index) {
return _c(item.is || 'cube-picker', _vm._b({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册