@jx3box/jx3box-common-ui 8.5.7 → 8.5.8
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 +1 -1
- package/src/bread/CommunityAdmin.vue +16 -3
package/package.json
CHANGED
|
@@ -51,6 +51,16 @@
|
|
|
51
51
|
>
|
|
52
52
|
置顶
|
|
53
53
|
</el-checkbox>
|
|
54
|
+
<el-checkbox
|
|
55
|
+
class="c-admin-highlight-checkbox"
|
|
56
|
+
v-model="form.is_category_top"
|
|
57
|
+
@change="onManageTopic($event, 'category_top')"
|
|
58
|
+
:true-label="1"
|
|
59
|
+
:false-label="0"
|
|
60
|
+
>
|
|
61
|
+
分类置顶
|
|
62
|
+
</el-checkbox>
|
|
63
|
+
|
|
54
64
|
<el-checkbox
|
|
55
65
|
class="c-admin-highlight-checkbox"
|
|
56
66
|
v-model="form.is_star"
|
|
@@ -133,9 +143,10 @@ export default {
|
|
|
133
143
|
form: {
|
|
134
144
|
category: "",
|
|
135
145
|
tags: [],
|
|
136
|
-
is_top:
|
|
137
|
-
is_star:
|
|
138
|
-
is_hight:
|
|
146
|
+
is_top: 0,
|
|
147
|
+
is_star: 0,
|
|
148
|
+
is_hight: 0,
|
|
149
|
+
is_category_top: 0,
|
|
139
150
|
},
|
|
140
151
|
};
|
|
141
152
|
},
|
|
@@ -154,6 +165,7 @@ export default {
|
|
|
154
165
|
is_top: this.form.is_top,
|
|
155
166
|
is_star: this.form.is_star,
|
|
156
167
|
is_hight: this.form.is_hight,
|
|
168
|
+
is_category_top: this.form.is_category_top,
|
|
157
169
|
// color: this.color,
|
|
158
170
|
};
|
|
159
171
|
},
|
|
@@ -167,6 +179,7 @@ export default {
|
|
|
167
179
|
is_top: this.post.is_top,
|
|
168
180
|
is_star: this.post.is_star,
|
|
169
181
|
tags: this.post.tags,
|
|
182
|
+
is_category_top: this.post.is_category_top,
|
|
170
183
|
};
|
|
171
184
|
},
|
|
172
185
|
modelValue(val) {
|