2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 06:47:20 +08:00

fix: 网站列表HTTPS显示不正确

This commit is contained in:
耗子
2024-10-23 15:21:52 +08:00
parent 710601600a
commit 817e86466c
2 changed files with 6 additions and 6 deletions

View File

@@ -1,14 +1,14 @@
import AutoImport from 'unplugin-auto-import/vite'
import Components from 'unplugin-vue-components/vite'
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers'
import Components from 'unplugin-vue-components/vite'
/**
* * unplugin-icons应用自动引入iconify图标
* usage: https://github.com/antfu/unplugin-icons
* 图标库: https://icones.js.org/
*/
import Icons from 'unplugin-icons/vite'
import IconsResolver from 'unplugin-icons/resolver'
import Icons from 'unplugin-icons/vite'
export default [
AutoImport({
@@ -26,7 +26,7 @@ export default [
Components({
resolvers: [
NaiveUiResolver(),
IconsResolver({ customCollections: ['custom'], componentPrefix: 'icon' })
IconsResolver({ customCollections: ['custom'], prefix: 'icon' })
],
dts: 'types/components.d.ts'
})

View File

@@ -56,15 +56,15 @@ const columns: any = [
ellipsis: { tooltip: true }
},
{
title: 'SSL',
key: 'ssl',
title: 'HTTPS',
key: 'https',
width: 150,
align: 'center',
render(row: any) {
return h(NSwitch, {
size: 'small',
rubberBand: false,
value: row.ssl,
value: row.https,
onClick: () => handleEdit(row)
})
}