添加个人中心及按角色展示内容
This commit is contained in:
8
simplify3.py
Normal file
8
simplify3.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import codecs
|
||||
file_path = r'd:\\骅锋\\mall\\layouts\\admin\\AdminLayout.uvue'
|
||||
with codecs.open(file_path, 'r', 'utf-8') as f:
|
||||
text = f.read()
|
||||
|
||||
text = text.replace('const currentComponent = computed<any>(() => {', 'const currentComponent = computed<any>(() => {\n console.log([AdminLayout] Computing component for activeRouteId: );')
|
||||
with codecs.open(file_path, 'w', 'utf-8') as f:
|
||||
f.write(text)
|
||||
Reference in New Issue
Block a user