diff --git a/.DS_Store b/.DS_Store index 11a187c..676bf9a 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/web/.env.development b/web/.env.development index 65fcb3a..2540819 100644 --- a/web/.env.development +++ b/web/.env.development @@ -5,5 +5,5 @@ VUE_APP_TITLE=企业级后台管理系统 # 启用权限管理 VUE_APP_PM_ENABLED = true # 后端接口地址及端口(域名) -VUE_APP_API = "https://demo.django-vue-admin.com/api" +VUE_APP_API = "http://192.168.1.22:8001/" diff --git a/web/src/views/dashboard/workbench/components/database.vue b/web/src/views/dashboard/workbench/components/database.vue index 37842ef..69cf7c0 100644 --- a/web/src/views/dashboard/workbench/components/database.vue +++ b/web/src/views/dashboard/workbench/components/database.vue @@ -17,7 +17,7 @@ 实时
-
{{ occupy_space}}MB
+
{{ space}}MB
占用空间
@@ -42,7 +42,7 @@ data() { return { count:"", - occupy_space:"", + space:"", }; }, methods: { @@ -50,8 +50,9 @@ request({ url: '/api/system/homepage_statistics/' }).then((res)=>{ - this.count=res.data.sum_file.count; - this.occupy_space=res.data.sum_file.occupy_space; + this.count=res.data.database_info.count; + this.space=res.data.database_info.space; +; }) }, // 生成一个随机整数 @@ -95,7 +96,7 @@ } .el-icon-s-flag { font-size: 12px; - margin-right: 132px; + margin-right: 130px; } } .real-time {