diff --git a/spug_api/spug/settings.py b/spug_api/spug/settings.py index 05974059..b92af2a4 100644 --- a/spug_api/spug/settings.py +++ b/spug_api/spug/settings.py @@ -121,7 +121,7 @@ re.compile('/apis/.*'), ) -SPUG_VERSION = 'v2.2.5' +SPUG_VERSION = 'v2.2.6' # override default config try: diff --git a/spug_web/src/libs/index.js b/spug_web/src/libs/index.js index c61697eb..938c98bb 100644 --- a/spug_web/src/libs/index.js +++ b/spug_web/src/libs/index.js @@ -8,3 +8,4 @@ import _http from './http'; export * from './functools'; export * from './router'; export const http = _http; +export const VERSION = 'v2.2.6'; diff --git a/spug_web/src/pages/system/setting/About.js b/spug_web/src/pages/system/setting/About.js index 8c5bcfe2..7fed35e3 100644 --- a/spug_web/src/pages/system/setting/About.js +++ b/spug_web/src/pages/system/setting/About.js @@ -7,7 +7,7 @@ import React from 'react'; import styles from './index.module.css'; import { Descriptions, Spin } from "antd"; import { observer } from 'mobx-react' -import { http } from 'libs'; +import { http, VERSION } from 'libs'; @observer @@ -36,7 +36,8 @@ class About extends React.Component { {info['system_version']} {info['python_version']} {info['django_version']} - {info['spug_version']} + {info['spug_version']} + {VERSION} https://spug.dev