2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 09:13:49 +08:00

fix: 固定按钮防止错位

This commit is contained in:
耗子
2024-10-17 20:17:06 +08:00
parent 12b6a1af35
commit 065877547e
22 changed files with 27 additions and 27 deletions

View File

@@ -53,7 +53,7 @@ func RegisterRules(v *validator.Validate) error {
}
if err := v.RegisterTranslation("password", *app.Translator,
func(ut ut.Translator) error {
return ut.Add("password", "密码不满足要求8-20位至少包含大小写字母、数字、特殊字符中的两种)", true)
return ut.Add("password", "密码不满足要求8-20位至少包含字母、数字、特殊字符中的两种", true)
},
func(ut ut.Translator, fe validator.FieldError) string {
t, _ := ut.T("password")

View File

@@ -54,7 +54,7 @@ const columns: any = [
{
title: t('appIndex.columns.actions'),
key: 'actions',
minWidth: 280,
width: 280,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -70,7 +70,7 @@ const jailsColumns: any = [
{
title: '操作',
key: 'actions',
minWidth: 280,
width: 280,
align: 'center',
hideInExcel: true,
render(row: any) {
@@ -134,7 +134,7 @@ const banedIPColumns: any = [
{
title: '操作',
key: 'actions',
minWidth: 100,
width: 100,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -41,7 +41,7 @@ const extensionColumns: any = [
{
title: '操作',
key: 'actions',
minWidth: 240,
width: 240,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -59,7 +59,7 @@ const userColumns: any = [
{
title: '操作',
key: 'actions',
minWidth: 240,
width: 240,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -72,7 +72,7 @@ const processColumns: any = [
{
title: '操作',
key: 'actions',
minWidth: 200,
width: 200,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -37,7 +37,7 @@ const columns: any = [
{
title: '操作',
key: 'actions',
minWidth: 240,
width: 240,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -71,7 +71,7 @@ const processColumns: any = [
{
title: '操作',
key: 'actions',
minWidth: 500,
width: 500,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -38,7 +38,7 @@ const columns: any = [
{
title: '操作',
key: 'actions',
minWidth: 200,
width: 200,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -77,7 +77,7 @@ const accountColumns: any = [
{
title: '操作',
key: 'actions',
minWidth: 200,
width: 200,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -168,7 +168,7 @@ const certColumns: any = [
{
title: '操作',
key: 'actions',
minWidth: 350,
width: 350,
align: 'center',
hideInExcel: true,
resizable: true,

View File

@@ -75,7 +75,7 @@ const dnsColumns: any = [
{
title: '操作',
key: 'actions',
minWidth: 200,
width: 200,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -77,7 +77,7 @@ const columns: any = [
{
title: '操作',
key: 'actions',
minWidth: 250,
width: 250,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -70,7 +70,7 @@ const columns: any = [
{
title: '操作',
key: 'actions',
minWidth: 120,
width: 120,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -109,7 +109,7 @@ const columns: any = [
{
title: '操作',
key: 'actions',
minWidth: 120,
width: 120,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -63,7 +63,7 @@ const columns: any = [
{
title: '操作',
key: 'actions',
minWidth: 120,
width: 120,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -111,7 +111,7 @@ const columns: any = [
{
title: '操作',
key: 'actions',
minWidth: 280,
width: 280,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -106,7 +106,7 @@ const columns: DataTableColumns<RowData> = [
{
title: '操作',
key: 'action',
minWidth: 340,
width: 340,
render(row) {
return h(
NSpace,

View File

@@ -408,13 +408,13 @@ const net = ref<any>({
]
})
const getData = async () => {
const fetchData = async () => {
monitor.list(start.value, end.value).then((res) => {
data.value = res.data
})
}
const getSetting = async () => {
const fetchSetting = async () => {
monitor.setting().then((res) => {
monitorSwitch.value = res.data.enabled
saveDay.value = res.data.days
@@ -459,12 +459,12 @@ watch([start, end], () => {
window.$message.error('开始时间不能大于结束时间')
return
}
getData()
fetchData()
})
onMounted(() => {
getSetting()
getData()
fetchSetting()
fetchData()
})
</script>

View File

@@ -129,8 +129,8 @@ const columns: any = [
{
title: '操作',
key: 'actions',
width: 150,
align: 'center',
minWidth: 150,
hideInExcel: true,
render(row: any) {
return [

View File

@@ -59,7 +59,7 @@ const columns: any = [
{
title: t('taskIndex.columns.actions'),
key: 'actions',
minWidth: 200,
width: 200,
align: 'center',
hideInExcel: true,
render(row: any) {

View File

@@ -86,7 +86,7 @@ const columns: any = [
{
title: t('websiteIndex.columns.actions'),
key: 'actions',
minWidth: 280,
width: 220,
align: 'center',
hideInExcel: true,
render(row: any) {