diff --git a/snowy-admin-web/.env.development b/snowy-admin-web/.env.development
index 75bd9e0d..4f5f665a 100644
--- a/snowy-admin-web/.env.development
+++ b/snowy-admin-web/.env.development
@@ -9,3 +9,6 @@ VITE_API_BASEURL = http://127.0.0.1:82
# 本地端口
VITE_PORT = 81
+
+# 开启设置抽屉
+VITE_SET_DRAWER = true
diff --git a/snowy-admin-web/.env.production b/snowy-admin-web/.env.production
index ace0d813..cc8d8d42 100644
--- a/snowy-admin-web/.env.production
+++ b/snowy-admin-web/.env.production
@@ -9,3 +9,6 @@ VITE_API_BASEURL = http://127.0.0.1:82
# 本地端口
VITE_PORT = 81
+
+# 开启设置抽屉
+VITE_SET_DRAWER = false
diff --git a/snowy-admin-web/src/components/XnFormContainer/demo.vue b/snowy-admin-web/src/components/XnFormContainer/demo.vue
deleted file mode 100644
index 60293bd9..00000000
--- a/snowy-admin-web/src/components/XnFormContainer/demo.vue
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
- Drawer Content
-
- Drawer footer
-
-
- Drawer title
-
-
-
- Modal Content
-
- Modal footer
-
-
- Modal title
-
-
-
-
-
-
diff --git a/snowy-admin-web/src/components/XnFormContainer/index.vue b/snowy-admin-web/src/components/XnFormContainer/index.vue
index 2ee63841..e975f98c 100644
--- a/snowy-admin-web/src/components/XnFormContainer/index.vue
+++ b/snowy-admin-web/src/components/XnFormContainer/index.vue
@@ -4,7 +4,7 @@
-
+
@@ -28,10 +28,6 @@
},
inheritAttrs: false,
props: {
- type: {
- type: String,
- default: FormContainerTypeEnum.MODAL
- },
visible: {
type: Boolean,
default: false,
@@ -45,7 +41,7 @@
return Object.keys(this.$slots)
},
isModal() {
- return this.type === FormContainerTypeEnum.MODAL
+ return FormContainerTypeEnum.MODAL === this.$store.state.global.formStyle
}
},
methods: {
diff --git a/snowy-admin-web/src/components/XnSignName/index.vue b/snowy-admin-web/src/components/XnSignName/index.vue
index 77130c40..15fac2a2 100644
--- a/snowy-admin-web/src/components/XnSignName/index.vue
+++ b/snowy-admin-web/src/components/XnSignName/index.vue
@@ -1,5 +1,5 @@
-
+
-
+
+ 取消
+ 确定
+
+
-
-
diff --git a/snowy-admin-web/src/views/biz/position/form.vue b/snowy-admin-web/src/views/biz/position/form.vue
index 57eade07..67164cdf 100644
--- a/snowy-admin-web/src/views/biz/position/form.vue
+++ b/snowy-admin-web/src/views/biz/position/form.vue
@@ -1,11 +1,9 @@
-
@@ -47,7 +45,7 @@
关闭
保存
-
+