- Style invalidation problem
In this case, the nesting method cannot be used in scss, the style set in #export will not take effect, and #export needs to set the style separately
.main-box{
#export{
}
}
- Using el-image, the attribute cannot be used in a dynamic way, and the dynamic attribute can be used in the form of native img
<el-image :src="currentData.patient_gender=='1'?'/svg/recipe-check.svg':'/svg/recipe-uncheck.svg'"
fit="cover" />
- Solve the adaptation problem of different types of paper (a4 is normal, a5 appears large)
@page {
size: a4;
}