AK
Size: a a a
AK
SS
v-on="on"
SS
Ж
<template>
<div class="chbx-group">
<div v-for="(option, index) in options" :key="index">
<slot
:item="option"
:forming-array="addTrueChecking"
:index="index"
></slot>
</div>
</div>
</template>
AK
AK
K
<template>
<div class="chbx-group">
<div v-for="(option, index) in options" :key="index">
<slot
:item="option"
:forming-array="addTrueChecking"
:index="index"
></slot>
</div>
</div>
</template>
A
V
A
M
M
Ж
ChbxGroup: ui.ChbxGroup
V
default
?Ж
V
async likePost(postId) {
try {
await HTTP({
url: `/posts/${postId}/like`,
method: "GET",
crossdomain: true
})
} catch (error) {
console.log(error);
}
},
A
async likePost(postId) {
try {
await HTTP({
url: `/posts/${postId}/like`,
method: "GET",
crossdomain: true
})
} catch (error) {
console.log(error);
}
},
V
GET
служит только для получения данных. Никаких внесений в бд он не подразумеваетV