writeOff/fix_btns.js
haomingming 815aa04fe8 first
2026-05-20 18:21:39 +08:00

7 lines
372 B
JavaScript

const fs = require('fs');
const filepath = 'd:\\haomi\\cursor_projects\\writeOff\\frontend\\src\\views\\modules\\meeting-page\\MeetingMaterialDrawer.vue';
let text = fs.readFileSync(filepath, 'utf-8');
text = text.replace(/<el-button type="primary" link>/g, '<el-button type="primary" plain size="small">');
fs.writeFileSync(filepath, text);
console.log('Fixed buttons');