omim - update dependencies & rebuild

This commit is contained in:
dntzhang 2019-06-26 21:22:50 +08:00
parent ba9e84b0a9
commit 56d8478b16
9 changed files with 9 additions and 9 deletions

View File

@ -26,7 +26,7 @@ export default class DateTimePicker extends WeElement<Props, Data> {
future: StringConstructor;
lan: StringConstructor;
};
receiveProps(props: any, data: any, pre: any): boolean;
receiveProps(props: any, pre: any): boolean;
picker: Picker;
installed(): void;
render(props: any): JSX.Element;

View File

@ -19300,7 +19300,7 @@ var DateTimePicker = /** @class */ (function (_super) {
DateTimePicker.prototype.install = function () {
moment.locale(this.props.lan);
};
DateTimePicker.prototype.receiveProps = function (props, data, pre) {
DateTimePicker.prototype.receiveProps = function (props, pre) {
if (props.show && !pre.show) {
this.picker.show();
}

File diff suppressed because one or more lines are too long

View File

@ -42,7 +42,7 @@ export default class DateTimePicker extends WeElement<Props, Data>{
lan: String
}
receiveProps(props, data, pre) {
receiveProps(props, pre) {
if (props.show && !pre.show) {
this.picker.show()

View File

@ -14,7 +14,7 @@
"material-design"
],
"dependencies": {
"omi": "^6.6.5"
"omi": "^6.6.6"
},
"author": "dntzhang <dntzhang@qq.com>",
"license": "MIT",

View File

@ -20,7 +20,7 @@ export default class To extends WeElement<Props, Data> {
delay: NumberConstructor;
};
to: any;
receiveProps(props: any, data: any, preProps: any): void;
receiveProps(props: any, preProps: any): void;
installed(): void;
render(): JSX.Element;
}

View File

@ -1784,7 +1784,7 @@ var To = /** @class */ (function (_super) {
_this.to = null;
return _this;
}
To.prototype.receiveProps = function (props, data, preProps) {
To.prototype.receiveProps = function (props, preProps) {
var _this = this;
var restart = false;
for (var key in props.from) {

File diff suppressed because one or more lines are too long

View File

@ -32,7 +32,7 @@ export default class To extends WeElement<Props, Data>{
to = null
receiveProps(props, data, preProps) {
receiveProps(props, preProps) {
let restart = false
for (let key in props.from) {
if (props.from[key] !== preProps.from[key]) {