@jx3box/jx3box-common-ui 9.0.16 → 9.0.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "9.0.16",
3
+ "version": "9.0.18",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -145,7 +145,7 @@ export default {
145
145
  data.title = this.form.title;
146
146
  data.remark = this.form.remark;
147
147
  data.star = this.form.star;
148
- data.subtype = this.form.type;
148
+ data.subtype = this.post?._subtype || this.form.type; // 此处针对特殊的community
149
149
  data.version = this.form.version;
150
150
  data.client = data.client == 'origin' ? 'origin' : 'std';
151
151
 
@@ -80,7 +80,7 @@ export default {
80
80
 
81
81
  this.alternate = alternate.map((key) => {
82
82
  return JSON.parse(localStorage.getItem(key));
83
- });
83
+ })?.filter((alt) => !this.isExpired(alt.created_at));
84
84
 
85
85
  // 如果当前号码不在马甲列表中,添加到列表中
86
86
  if (!this.alternate.find((alt) => alt.uid == this.profile.uid)) {
@@ -197,6 +197,7 @@ export default {
197
197
  padding: 10px;
198
198
  .pr;
199
199
  border-bottom: 1px solid #eee;
200
+ .fz(13px);
200
201
 
201
202
  &:hover {
202
203
  background-color: @bg-light;