diff --git a/README.md b/README.md index 84c99b92..d836b91f 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,8 @@ gitee下载地址:[https://gitee.com/xiaonuobase/snowy](https://gitee.com/xiao github下载地址(镜像):[https://github.com/xiaonuobase/Snowy](https://github.com/xiaonuobase/Snowy) +gitcode下载地址:[https://gitcode.com/xiaonuobase/Snowy](https://gitcode.com/xiaonuobase/Snowy) + 演示地址:[https://snowy.xiaonuo.vip](https://snowy.xiaonuo.vip) 文档地址:[https://xiaonuo.vip/doc](https://xiaonuo.vip/doc) diff --git a/snowy-admin-web/.env.development b/snowy-admin-web/.env.development index 4f5f665a..f7b453fd 100644 --- a/snowy-admin-web/.env.development +++ b/snowy-admin-web/.env.development @@ -1,9 +1,3 @@ -# 本地环境 -NODE_ENV = development - -# 标题 -VITE_TITLE = Snowy - # 接口地址 VITE_API_BASEURL = http://127.0.0.1:82 @@ -12,3 +6,6 @@ VITE_PORT = 81 # 开启设置抽屉 VITE_SET_DRAWER = true + +# 本地环境 +NODE_ENV = development diff --git a/snowy-admin-web/.env.production b/snowy-admin-web/.env.production index cc8d8d42..26326300 100644 --- a/snowy-admin-web/.env.production +++ b/snowy-admin-web/.env.production @@ -1,9 +1,3 @@ -# 生产环境 -NODE_ENV = production - -# 标题 -VITE_TITLE = Snowy - # 接口地址 VITE_API_BASEURL = http://127.0.0.1:82 diff --git a/snowy-admin-web/index.html b/snowy-admin-web/index.html index 55d2e348..babf82cc 100644 --- a/snowy-admin-web/index.html +++ b/snowy-admin-web/index.html @@ -8,10 +8,10 @@ Snowy diff --git a/snowy-admin-web/src/components/XnBatchButton/index.vue b/snowy-admin-web/src/components/XnBatchButton/index.vue index 1fa17b89..a1591ecf 100644 --- a/snowy-admin-web/src/components/XnBatchButton/index.vue +++ b/snowy-admin-web/src/components/XnBatchButton/index.vue @@ -15,6 +15,10 @@ const emit = defineEmits({ batchCallBack: null }) const buttonLoading = ref(false) const props = defineProps({ + idKey: { + type: String, + default: () => 'id' + }, buttonName: { type: String, default: () => '批量操作' @@ -62,7 +66,7 @@ const deleteBatch = () => { const params = props.selectedRowKeys.map((m) => { return { - id: m + [props.idKey]: m } }) // 发起方法调用,谁的谁来实现 diff --git a/snowy-admin-web/src/components/XnFilePreview/index.vue b/snowy-admin-web/src/components/XnFilePreview/index.vue index f8af5d48..d9631ea8 100644 --- a/snowy-admin-web/src/components/XnFilePreview/index.vue +++ b/snowy-admin-web/src/components/XnFilePreview/index.vue @@ -1,50 +1,52 @@ diff --git a/snowy-admin-web/src/views/dev/dict/category/frmIndex.vue b/snowy-admin-web/src/views/dev/dict/category/frmIndex.vue deleted file mode 100644 index cbfa999b..00000000 --- a/snowy-admin-web/src/views/dev/dict/category/frmIndex.vue +++ /dev/null @@ -1,184 +0,0 @@ - - - - - diff --git a/snowy-admin-web/src/views/dev/dict/category/bizIndex.vue b/snowy-admin-web/src/views/dev/dict/category/index.vue similarity index 83% rename from snowy-admin-web/src/views/dev/dict/category/bizIndex.vue rename to snowy-admin-web/src/views/dev/dict/category/index.vue index 43eaaef1..b7196bea 100644 --- a/snowy-admin-web/src/views/dev/dict/category/bizIndex.vue +++ b/snowy-admin-web/src/views/dev/dict/category/index.vue @@ -1,15 +1,17 @@