Commit 72b69832 by 李嘉林

内嵌页面

parent b5afaf37
......@@ -56,7 +56,7 @@ export default {
init() {
if (!this.microPageId) return;
shop.singlePageInfo({ id: this.microPageId }).then(res => {
if (res.data.code == 200) {
if (res.data.code == 200 && res.data.data.publishFlag == 1) {
this.pageData = res.data.data.pageData ? JSON.parse(res.data.data.pageData) : [];
this.contentList.push(this.pageData[0]);
let i = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment