UNPKG

fit-select

Version:

选择框

28 lines (21 loc) 663 B
"use strict"; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var Props = function Props() { _classCallCheck(this, Props); this.onChange = function () {}; this.search = false; this.simple = false; this.value = ''; this.defaultValue = ''; this.options = new Array(); this.cascaderFull = false; }; exports.Props = Props; var State = function State() { _classCallCheck(this, State); this.open = false; this.searchValue = ''; this.labelValue = ''; this.cascader = new Array(); }; exports.State = State;