js 解构重命名

const used2 = useDutyStore();
const { stateDuty: stateDuty2, getDutyList: getDutyList2 } = used2;

onMounted(() => {
    getDutyList2();
});
posted @ 2023-07-03 14:10  进阶的哈姆雷特  阅读(102)  评论(0编辑  收藏  举报