Commit c1bcd56f authored by chenqikuai's avatar chenqikuai

Merge branch 'dev' of gitlab.33.cn:chenqikuai/fns_front_2 into dev

parents e656a869 6d842cf1
...@@ -229,7 +229,7 @@ export default defineComponent({ ...@@ -229,7 +229,7 @@ export default defineComponent({
z-index: 145; z-index: 145;
width: 14px; width: 14px;
height: 1px; height: 1px;
background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPnga0e9464c2bc2666ea94aaa969a4fbb2853a62a3a30b32f0a92310f37426eb2d6) background: url('../../../assets/img/line.png')
0px 0px no-repeat; 0px 0px no-repeat;
margin-top: 20px; margin-top: 20px;
} }
......
...@@ -55,8 +55,6 @@ export default [ ...@@ -55,8 +55,6 @@ export default [
if (res.code === 200) { if (res.code === 200) {
allow = res.data.allow allow = res.data.allow
time_section = res.data.time_section time_section = res.data.time_section
} else {
} }
new Bridge().bridge_live({ new Bridge().bridge_live({
phone: JSON.parse(window.localStorage.getItem('USER_MSG') as string)?.userInfo.phone, phone: JSON.parse(window.localStorage.getItem('USER_MSG') as string)?.userInfo.phone,
......
...@@ -159,6 +159,7 @@ export default defineComponent({ ...@@ -159,6 +159,7 @@ export default defineComponent({
const ret = await queryNotifyList({ notify_type: "1" }); const ret = await queryNotifyList({ notify_type: "1" });
if (ret.code === 200) { if (ret.code === 200) {
const list = ret.data.items; const list = ret.data.items;
list.sort((a, b) => b.created_at - a.created_at)
this.notifyList = list; this.notifyList = list;
} }
}, },
......
...@@ -22,6 +22,7 @@ export default defineComponent({ ...@@ -22,6 +22,7 @@ export default defineComponent({
const notifyList = () => { const notifyList = () => {
getNotifyList(type).then(res => { getNotifyList(type).then(res => {
list.value = res.data.items list.value = res.data.items
list.value.sort((a: {created_at: number}, b: {created_at: number}) => b.created_at - a.created_at)
}) })
} }
notifyList() notifyList()
......
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