|
@@ -258,11 +258,9 @@ export default {
|
|
|
item.children = children;
|
|
|
for (const sc of item.children) {
|
|
|
let schildren = _.get(sc, `children`, []);
|
|
|
- sc.children = _.reverse(
|
|
|
- _.sortBy(schildren, i => {
|
|
|
- return new Date(_.get(i, `meta.createdA`)).getTime();
|
|
|
- })
|
|
|
- );
|
|
|
+ sc.children = _.sortBy(schildren, i => {
|
|
|
+ return new Date(_.get(i, `meta.createdA`)).getTime();
|
|
|
+ });
|
|
|
sc.children = sc.children.filter(f => f.is_use === '0');
|
|
|
}
|
|
|
// if (item.is_use === '0') {
|
|
@@ -276,7 +274,8 @@ export default {
|
|
|
async onsaveClick({ title }) {
|
|
|
if (title === '常见问题') {
|
|
|
window.location.href =
|
|
|
- 'https://mp.weixin.qq.com/s?__biz=MzAxMzg2ODE0NA==&mid=100000727&idx=1&sn=c2a38aca7482a930ceeff01779827faa&chksm=1b9d4ec82ceac7dee8cf6f89701e9af1fdedeed6c7e5ecba20356b1584d6ee76b069649f5cd9&mpshare=1&scene=23&srcid=0917J2IHeM4fxs3dHnJBhis4#rd';
|
|
|
+ 'https://mp.weixin.qq.com/s?__biz=MzAxMzg2ODE0NA==&mid=100000727&idx=1&sn=c2a38aca7482a930ceeff01779827faa&chksm=1b9d4ec82ceac7dee8cf6f89701e9af1fdede' +
|
|
|
+ 'ed6c7e5ecba20356b1584d6ee76b069649f5cd9&mpshare=1&scene=23&srcid=0917J2IHeM4fxs3dHnJBhis4#rd';
|
|
|
} else {
|
|
|
this.$router.push({ path: '/quiet', query: { title: title } });
|
|
|
}
|