@fonixtree/magic-design 0.1.66 → 0.1.67
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.
|
@@ -615,6 +615,7 @@ function (_super) {
|
|
|
615
615
|
config = props.config,
|
|
616
616
|
outputType = props.outputType,
|
|
617
617
|
locale = props.locale;
|
|
618
|
+
console.log('constructor-- pageData', pageData);
|
|
618
619
|
(0, _commonUtil.compatibleNewPageData)(pageData);
|
|
619
620
|
var MPageData = pageData.childNodes || [];
|
|
620
621
|
_this.configRef = /*#__PURE__*/_react["default"].createRef(); // this.viewAreaRef = React.createRef();
|
|
@@ -666,6 +667,7 @@ function (_super) {
|
|
|
666
667
|
var pageData = nextProps.pageData,
|
|
667
668
|
config = nextProps.config;
|
|
668
669
|
var MPageData = pageData.childNodes || [];
|
|
670
|
+
console.log('componentWillReceiveProps-- pageData', pageData);
|
|
669
671
|
this.history = new _History["default"](MPageData);
|
|
670
672
|
this.setState({
|
|
671
673
|
MPageData: MPageData
|
|
@@ -615,6 +615,7 @@ function (_super) {
|
|
|
615
615
|
config = props.config,
|
|
616
616
|
outputType = props.outputType,
|
|
617
617
|
locale = props.locale;
|
|
618
|
+
console.log('constructor-- pageData', pageData);
|
|
618
619
|
(0, _commonUtil.compatibleNewPageData)(pageData);
|
|
619
620
|
var MPageData = pageData.childNodes || [];
|
|
620
621
|
_this.configRef = /*#__PURE__*/_react["default"].createRef(); // this.viewAreaRef = React.createRef();
|
|
@@ -666,6 +667,7 @@ function (_super) {
|
|
|
666
667
|
var pageData = nextProps.pageData,
|
|
667
668
|
config = nextProps.config;
|
|
668
669
|
var MPageData = pageData.childNodes || [];
|
|
670
|
+
console.log('componentWillReceiveProps-- pageData', pageData);
|
|
669
671
|
this.history = new _History["default"](MPageData);
|
|
670
672
|
this.setState({
|
|
671
673
|
MPageData: MPageData
|