mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-04-11 13:44:25 +08:00
Merge branch 'bug-fix'
This commit is contained in:
BIN
web/public/images/ga_beian.png
Normal file
BIN
web/public/images/ga_beian.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@@ -13,11 +13,7 @@
|
||||
<div class="flex justify-center text-sm">
|
||||
<a href="https://beian.miit.gov.cn" target="_blank">ICP备案:{{ icp }}</a>
|
||||
<span>|</span>
|
||||
<img
|
||||
src="https://inews.gtimg.com/newsapp_bt/0/0613150938895_706/0"
|
||||
class="w-4 h-4 mx-1"
|
||||
alt="beian"
|
||||
/>
|
||||
<img :src="gaBeianImg" class="w-4 h-4 mx-1" alt="beian" />
|
||||
<a
|
||||
:href="`http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=${getCodeNum(
|
||||
gaBeian
|
||||
@@ -47,6 +43,7 @@ const props = defineProps({
|
||||
default: '#ffffff',
|
||||
},
|
||||
})
|
||||
const gaBeianImg = ref('/images/ga_beian.png')
|
||||
|
||||
// 获取系统配置
|
||||
getSystemInfo()
|
||||
@@ -75,9 +72,13 @@ getLicenseInfo()
|
||||
// 获取公安备案号
|
||||
const getCodeNum = (code) => {
|
||||
// 提取数字
|
||||
const num = code.match(/\d+/)
|
||||
if (num) {
|
||||
return num[0]
|
||||
try {
|
||||
const num = code.match(/\d+/)
|
||||
if (num) {
|
||||
return num[0]
|
||||
}
|
||||
} catch (e) {
|
||||
return ''
|
||||
}
|
||||
return ''
|
||||
}
|
||||
|
||||
@@ -214,18 +214,18 @@ const items = [
|
||||
title: '基础配置',
|
||||
},
|
||||
{
|
||||
icon: 'config',
|
||||
icon: 'power',
|
||||
index: '/admin/config/power',
|
||||
title: '算力配置',
|
||||
},
|
||||
|
||||
{
|
||||
icon: 'config',
|
||||
icon: 'menu',
|
||||
index: '/admin/config/menu',
|
||||
title: '菜单配置',
|
||||
},
|
||||
{
|
||||
icon: 'config',
|
||||
icon: 'license',
|
||||
index: '/admin/config/license',
|
||||
title: '授权激活',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user