管理端

main
lijingjia 3 months ago
parent 5efb04802f
commit 10f92a1a8b

@ -7,14 +7,14 @@ VITE_PUBLIC_PATH = /
# Cross-domain proxy, you can configure multiple # Cross-domain proxy, you can configure multiple
# Please note that no line breaks # Please note that no line breaks
# VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]] # VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]]
VITE_PROXY=[["/api","http://60.209.125.238:3008"],["/stage-api","https://www.666cxf.com/stage-api"]] # 开发 测试环境 VITE_PROXY=[["/api","http://118.190.144.189:3008"],["/stage-api","https://www.666cxf.com/stage-api"]] # 开发 测试环境
# Delete console # Delete console
VITE_DROP_CONSOLE = true VITE_DROP_CONSOLE = true
# 后台接口父地址(必填) # 后台接口父地址(必填)
VITE_GLOB_API_URL=http://localhost:3008 # VITE_GLOB_API_URL=http://localhost:3008
# VITE_GLOB_API_URL="/api" # 开发 测试环境 VITE_GLOB_API_URL="/api" # 开发 测试环境
# File upload address optional # File upload address optional
#VITE_GLOB_UPLOAD_URL=http://localhost:8091/api/Common/UploadFile #VITE_GLOB_UPLOAD_URL=http://localhost:8091/api/Common/UploadFile

@ -1,3 +1,11 @@
###
# @Author: lijingjia lijj_xl@163.com
# @Date: 2024-07-03 09:12:56
# @LastEditors: lijingjia lijj_xl@163.com
# @LastEditTime: 2024-07-27 11:44:16
# @FilePath: \ds-admin-web\ds-wms-admin-web\.env.production
# @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
###
# Whether to open mock # Whether to open mock
VITE_USE_MOCK = false VITE_USE_MOCK = false
@ -16,13 +24,13 @@ VITE_BUILD_COMPRESS = 'gzip'
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
# Basic interface address SPA # Basic interface address SPA
VITE_GLOB_API_URL=http://60.209.125.238:3008 VITE_GLOB_API_URL=http://118.190.144.189:3008
# File upload address optional # File upload address optional
VITE_GLOB_UPLOAD_URL=http://47.104.255.182:8091/api/VW_INFO_FILES/CommonUpload VITE_GLOB_UPLOAD_URL=http://47.104.255.182:8091/api/VW_INFO_FILES/CommonUpload
# 预览地址 # 预览地址
VITE_GLOB_VIEW_URL=http://60.209.125.238:3012 VITE_GLOB_VIEW_URL=http://118.190.144.189:3012
# Interface prefix # Interface prefix
VITE_GLOB_API_URL_PREFIX= VITE_GLOB_API_URL_PREFIX=

@ -104,6 +104,9 @@ export const formSchema: FormSchema[] = [
{ label: '按钮/权限', value: 3 }, { label: '按钮/权限', value: 3 },
], ],
onChange: (e) => { onChange: (e) => {
if (e == 1) {
formModel.parentId = 0
}
// const { updateSchema, clearValidate } = formActionType // const { updateSchema, clearValidate } = formActionType
// const label = isButton(e) ? '按钮/权限' : '菜单名称' // const label = isButton(e) ? '按钮/权限' : '菜单名称'
// //清除校验 // //清除校验

@ -101,7 +101,7 @@
// } // }
checkedKeys.value.forEach((e) => { checkedKeys.value.forEach((e) => {
if (e == item.key) { if (e == item.key) {
item.disableCheckbox = true item.disableCheckbox = false
} }
}) })
if (item.children) { if (item.children) {

Loading…
Cancel
Save