update
This commit is contained in:
@@ -23,8 +23,8 @@ const status = computed({
|
||||
},
|
||||
})
|
||||
|
||||
const change = async () => {
|
||||
const {msg} = await api(id);
|
||||
const change = async (e) => {
|
||||
const {msg} = await api(id, Number(e));
|
||||
Message.success(msg);
|
||||
emits('change');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user