添加个人中心及按角色展示内容
This commit is contained in:
10
remove_broken_log3.py
Normal file
10
remove_broken_log3.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import codecs
|
||||
file_path = r'd:\\骅锋\\mall\\layouts\\admin\\components\\AdminHeader.uvue'
|
||||
with codecs.open(file_path, 'r', 'utf-8') as f:
|
||||
text = f.read()
|
||||
|
||||
text = text.replace('console.log([AdminHeader] goToUserCenter called)', 'console.log([AdminHeader] goToUserCenter called)')
|
||||
text = text.replace('console.log([AdminHeader] goToUserCenter called);', '')
|
||||
|
||||
with codecs.open(file_path, 'w', 'utf-8') as f:
|
||||
f.write(text)
|
||||
Reference in New Issue
Block a user