Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
姚俊旭 2025-06-11 16:37:29 +08:00
commit d0e8ac75fe
4 changed files with 23 additions and 4 deletions

View File

@ -18,3 +18,4 @@ VITE_APP_UPLOAD_API = '/uploadApis'
# 内网接口地址
VITE_APP_BASE_URL = 'http://192.168.18.99:8080'
VITE_APP_UPLOAD_URL = 'http://192.168.18.99:8080'
VITE_APP_VIST_URL = 'http://192.168.18.99'

View File

@ -11,4 +11,5 @@ VITE_APP_VIST_URL = 'http://localhost'
VITE_APP_BASE_API = '/apis'
VITE_APP_BASE_URL = ''
VITE_APP_UPLOAD_API = '/uploadApis'
VITE_APP_UPLOAD_URL = ''
VITE_APP_UPLOAD_URL = ''
VITE_APP_VIST_URL = 'http://192.168.18.99'

View File

@ -21,6 +21,13 @@ export default defineConfig(({ command, mode }) => {
target: 'ESNext',
outDir: 'dist',
minify: 'terser',
rollupOptions: {
output: {
chunkFileNames: `static/js/[name]-${Date.now()}-[hash].js`,
entryFileNames: `static/js/[name]-${Date.now()}-[hash].js`,
assetFileNames: `static/[ext]/[name]-${Date.now()}-[hash].[ext]`,
},
},
},
server: {
host: '0.0.0.0',

View File

@ -62,12 +62,16 @@
@selection-change="handleSelectionChange"
>
<template #isDefault="slotProps">
<div style="width: 120px; display: flex; align-items: center; justify-content: flex-start">
<el-checkbox
<div
:class="[slotProps.row.isDefault == '1' ? 'pr' : 'er']"
style="width: 120px; display: flex; align-items: center; justify-content: flex-start"
>
{{ slotProps.row.isDefault == '1' ? '是' : '否' }}
<!-- <el-checkbox
:disabled="slotProps.row.isDefault == '1' ? false : true"
:checked="slotProps.row.isDefault == '1' ? true : false"
size="large"
/>
/> -->
</div>
</template>
@ -507,6 +511,12 @@ function removeCheckedItems(data) {
}
</script>
<style lang="scss" scoped>
.pr {
color: #25bf82;
}
.er {
color: #999999;
}
:deep(.el-checkbox__inner) {
border-radius: 50%;
width: 16px;