north-glass-erp/northglass-erp/src/views/pp/glassOptimize/OptimizationRectPrint.vue
@@ -1,6 +1,8 @@ <template> <div> <el-button id="button" type="primary" @click="handlePrint">打印</el-button> <el-button id="button" type="primary" @click="handlePrint" style="position: fixed; top: 90px; right: 20px; padding: 20px; background: #4CAF50; color: white; border: none; border-radius: 5px; cursor: pointer;"> 打印 </el-button> <div ref="printContainer" style="position: relative;"> <RectRenderer