jmash-core-mp 0.1.23 → 0.1.24
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.
- package/lib/components/cms/jmash-cms-article-view.mpx.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/cms/jmash-cms-activity-page.mpx +2 -1
- package/src/components/cms/jmash-cms-location-page.mpx +2 -1
- package/src/packages/pages/auth/cms-protocol.mpx +2 -0
- package/src/packages/pages/cms/cms-article.mpx +1 -0
- package/src/packages/pages/cms/cms-location.mpx +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -97,6 +97,7 @@ createComponent({
|
|
|
97
97
|
curPage: curPage.value,
|
|
98
98
|
pageSize: props.pageSize,
|
|
99
99
|
likeInfoTitle: props.likeInfoTitle,
|
|
100
|
+
status: 'published',
|
|
100
101
|
}).then(res => {
|
|
101
102
|
if (res.statusCode === 200) {
|
|
102
103
|
// 格式化时间
|
|
@@ -135,7 +136,7 @@ createComponent({
|
|
|
135
136
|
let config = getApp().globalData.config;
|
|
136
137
|
let item = e.currentTarget.dataset.item;
|
|
137
138
|
mpx.navigateTo({
|
|
138
|
-
url: '/jmash/pages/cms/cms-article?siteId=' + this.siteId + '&infoId=' + item.infoId,
|
|
139
|
+
url: '/jmash/pages/cms/cms-article?tenant=' + this.organTenant + '&siteId=' + this.siteId + '&infoId=' + item.infoId,
|
|
139
140
|
});
|
|
140
141
|
// 浏览
|
|
141
142
|
this.handelBrowse(this.organTenant || config.tenant, item.infoId);
|
|
@@ -95,6 +95,7 @@ createComponent({
|
|
|
95
95
|
curPage: curPage.value,
|
|
96
96
|
pageSize: props.pageSize,
|
|
97
97
|
likeInfoTitle: props.likeInfoTitle,
|
|
98
|
+
status: 'published',
|
|
98
99
|
}).then(res => {
|
|
99
100
|
if (res.statusCode === 200) {
|
|
100
101
|
if (curPage.value === 1) {
|
|
@@ -129,7 +130,7 @@ createComponent({
|
|
|
129
130
|
let config = getApp().globalData.config;
|
|
130
131
|
let item = e.currentTarget.dataset.item;
|
|
131
132
|
mpx.navigateTo({
|
|
132
|
-
url: '/jmash/pages/cms/cms-location?siteId=' + this.siteId + '&infoId=' + item.infoId,
|
|
133
|
+
url: '/jmash/pages/cms/cms-location?tenant=' + this.organTenant + '&siteId=' + this.siteId + '&infoId=' + item.infoId,
|
|
133
134
|
});
|
|
134
135
|
// 浏览
|
|
135
136
|
this.handelBrowse(this.organTenant || config.tenant, item.infoId);
|
|
@@ -14,6 +14,8 @@ createPage({
|
|
|
14
14
|
let channelAlias = ref('');
|
|
15
15
|
onLoad((options) => {
|
|
16
16
|
console.log(options);
|
|
17
|
+
tenant.value = options.tenant || config.tenant;
|
|
18
|
+
siteId.value = options.siteId || config.siteId;
|
|
17
19
|
channelAlias.value = options.channelAlias || 'privacy';
|
|
18
20
|
})
|
|
19
21
|
return { siteId, tenant, channelAlias };
|