@ubrorg/card
Advanced tools
Comparing version 2.3.1-beta.3 to 2.3.1-beta.4
@@ -227,3 +227,4 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
type = _e$target$dataset.type, | ||
url = _e$target$dataset.url; | ||
url = _e$target$dataset.url, | ||
drag = _e$target$dataset.drag; | ||
var _this$props3 = this.props, | ||
@@ -250,8 +251,10 @@ projectName = _this$props3.projectName, | ||
if (type == 0) { | ||
this.$page.open && this.$page.open("/pages/detail/land?contentDetailId=".concat(id, "&templateType=").concat(type)); | ||
this.props.onOpenDetail && this.props.onOpenDetail("/pages/detail/land?contentDetailId=".concat(id, "&templateType=").concat(type)); | ||
if (drag && drag === 1) { | ||
this.$page.open && this.$page.open("/pages/detail/event?contentDetailId=".concat(id, "&templateType=").concat(type)); | ||
} else { | ||
this.$page.open && this.$page.open("/pages/detail/detail?contentDetailId=".concat(id, "&templateType=").concat(type)); | ||
this.props.onOpenDetail && this.props.onOpenDetail("/pages/detail/detail?contentDetailId=".concat(id, "&templateType=").concat(type)); | ||
if (type == 0) { | ||
this.$page.open && this.$page.open("/pages/detail/land?contentDetailId=".concat(id, "&templateType=").concat(type)); | ||
} else { | ||
this.$page.open && this.$page.open("/pages/detail/detail?contentDetailId=".concat(id, "&templateType=").concat(type)); | ||
} | ||
} | ||
@@ -258,0 +261,0 @@ } |
{ | ||
"name": "@ubrorg/card", | ||
"version": "2.3.1-beta.3", | ||
"version": "2.3.1-beta.4", | ||
"description": "card", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
403
69053