错误写法:
...
computed:{
height() {
return 'calc(100vh-100px)'
}
}
...
正确写法:减号要加空格!
...
computed:{
height() {
return 'calc(100vh - 100px)'
}
}
...
错误写法:
...
computed:{
height() {
return 'calc(100vh-100px)'
}
}
...
正确写法:减号要加空格!
...
computed:{
height() {
return 'calc(100vh - 100px)'
}
}
...