diff --git a/backend/application/settings.py b/backend/application/settings.py index 9e39c04..f59140f 100644 --- a/backend/application/settings.py +++ b/backend/application/settings.py @@ -44,6 +44,9 @@ DEBUG = locals().get("DEBUG", True) ALLOWED_HOSTS = locals().get("ALLOWED_HOSTS", ["*"]) # Application definition +CUSTOM_APPS = [ + "dvadmin.system", +] INSTALLED_APPS = [ "django.contrib.auth", diff --git a/web/.env.development b/web/.env.development index c200ba4..dc36b29 100644 --- a/web/.env.development +++ b/web/.env.development @@ -2,7 +2,7 @@ ENV = 'development' # 本地环境接口地址 -VITE_API_URL = 'http://huge-dream.natapp1.cc/' +VITE_API_URL = 'http://127.0.0.1:8001' # 是否启用按钮权限 VITE_PM_ENABLED = true diff --git a/web/package.json b/web/package.json index 6bb8ef9..31afb85 100644 --- a/web/package.json +++ b/web/package.json @@ -44,6 +44,7 @@ "splitpanes": "^3.1.5", "tailwindcss": "^3.2.7", "ts-md5": "^1.3.1", + "upgrade": "^1.1.0", "vue": "^3.2.45", "vue-clipboard3": "^2.0.0", "vue-cropper": "^1.0.8", diff --git a/web/src/views/system/columns/index.vue b/web/src/views/system/columns/index.vue index cd7722e..21a7817 100644 --- a/web/src/views/system/columns/index.vue +++ b/web/src/views/system/columns/index.vue @@ -1,17 +1,17 @@