更新layui,修复数据库初始化路径问题

This commit is contained in:
mkg
2021-07-07 13:54:37 +08:00
parent 28021df2ab
commit 0a60c1960d
26 changed files with 1051 additions and 1030 deletions
+1 -5
View File
@@ -55,10 +55,6 @@ def init_db():
return
if init_database():
print('数据库%s创建成功' % str(DATABASE))
execute_fromfile(BASE_DIR + '../../../test/pear.sql')
execute_fromfile('test/pear.sql')
print('表创建成功')
print('欢迎使用pear-admin-flask,请使用 flask run 命令启动程序')
if __name__ == '__main__':
init_db()