ИС
data: () => ({})this там не так часто нужен, а если и нужен то вот так
data: (vm) => ({
date: vm.props
})Size: a a a
ИС
data: () => ({})data: (vm) => ({
date: vm.props
})IK
AP
D‘
computed через this ?methods: {
methodName(){
const { computedProperty } = this
…
}
}SL
CC
computed через this ?methods: {
methodName(){
const { computedProperty } = this
…
}
}G
SL
computed через this ?methods: {
methodName(){
const { computedProperty } = this
…
}
}D‘
SL
IK
AG
D‘
Р
AG
N
AP
data: () => ({})data: (vm) => ({
date: vm.props
})D‘
this.computedProperty below, because in we're already retrieving values directly from this everywhere else.”