修改新增加文件数量的查询功能
This commit is contained in:
@ -10,10 +10,10 @@ def get_base_path():
|
||||
|
||||
|
||||
def get_static_path():
|
||||
"""获取 dist 静态资源路径"""
|
||||
"""获取 web_dist 静态资源路径"""
|
||||
if getattr(sys, 'frozen', False):
|
||||
return os.path.join(sys._MEIPASS, 'dist')
|
||||
return os.path.join(os.path.dirname(os.path.abspath(__file__)), 'dist')
|
||||
return os.path.join(sys._MEIPASS, 'web_dist')
|
||||
return os.path.join(os.path.dirname(os.path.abspath(__file__)), 'web_dist')
|
||||
|
||||
|
||||
class Config:
|
||||
|
||||
Reference in New Issue
Block a user