会员个人中心页面初步完成

This commit is contained in:
时舟年
2026-06-04 14:18:53 +08:00
committed by liwentao
parent 1fa2fbd3f3
commit a0026b1da5
170 changed files with 18092 additions and 35 deletions
@@ -0,0 +1,14 @@
const fs = require('fs');
const path = require('path');
const dir = path.join(__dirname, '../components/memberInfo');
const files = fs.readdirSync(dir).filter((f) => f.endsWith('.vue'));
for (const file of files) {
let content = fs.readFileSync(path.join(dir, file), 'utf8');
content = content.replace(
/export default \{\n\s+options:/,
'export default {\n options:'
);
fs.writeFileSync(path.join(dir, file), content, 'utf8');
}