ws['!protect'] = {
password: '1234as',
selectLockedCells: true,
selectUnlockedCells: true
}
XLSX.utils.book_append_sheet(wb, ws, item.sheetName)
const wbOut = XLSXS.write(wb, {
bookType: 'xlsx',
type: 'binary'
})
When I export an Excel file using xlsx style and open it, the password I set does not take effect,Could you please take a look