mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 06:47:20 +08:00
fix: 网站列表HTTPS显示不正确
This commit is contained in:
@@ -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'
|
||||
})
|
||||
|
||||
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user