Commit 98bc8c71 authored by xiaoye's avatar xiaoye

Update api.vue

parent 980628c0
Pipeline #38717 canceled with stages
in 5 minutes and 39 seconds
...@@ -161,13 +161,11 @@ ...@@ -161,13 +161,11 @@
watch(() => { return api.list; }, () => { watch(() => { return api.list; }, () => {
api.changing = -1; api.changing = -1;
api.list.forEach(i => { api.changeInfo.push(...api.list.map(i => ({
api.changeInfo.push({ date: i.expireAt,
date : i.expireAt, name: i.name,
name : i.name, description: i.description
description : i.description, })));
});
});
}, { deep : true }); }, { deep : true });
onBeforeMount(() : void => { onBeforeMount(() : void => {
......
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