From 1176029af3973e89d8d9e4df888c8792c3755d87 Mon Sep 17 00:00:00 2001
From: wxg0103 <727495428@qq.com>
Date: Mon, 28 Oct 2024 17:02:04 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=95=B0=E5=AD=97?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8B=E8=BE=93=E5=85=A5=E6=A1=86=E5=8F=AF=E4=BB=A5?=
=?UTF-8?q?=E8=BE=93=E5=85=A51-3=E7=9A=84=E7=BC=BA=E9=99=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--bug=1048215 --user=王孝刚 【应用】显示设置-图标默认位置输入框输入1-2提交后提示字段不能为空 https://www.tapd.cn/57709429/s/1599573
---
.../component/LimitDialog.vue | 1 +
.../component/XPackDisplaySettingDialog.vue | 15 +++++++++++----
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/ui/src/views/application-overview/component/LimitDialog.vue b/ui/src/views/application-overview/component/LimitDialog.vue
index 1b245af93..5de87f4a7 100644
--- a/ui/src/views/application-overview/component/LimitDialog.vue
+++ b/ui/src/views/application-overview/component/LimitDialog.vue
@@ -19,6 +19,7 @@
v-model="form.access_num"
:min="0"
:step="1"
+ :max="10000"
:value-on-clear="0"
controls-position="right"
style="width: 268px"
diff --git a/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue b/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue
index 0c6c15db7..4acd0fa29 100644
--- a/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue
+++ b/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue
@@ -140,7 +140,7 @@
/>
@@ -178,7 +178,7 @@
建议尺寸 64*64,支持 JPG、PNG, GIF,大小不超过 10 MB建议尺寸 64*64,支持 JPG、PNG、GIF,大小不超过 10 MB
@@ -233,6 +233,9 @@
v-model="form.float_location.x.value"
:min="0"
:step="1"
+ :precision="0"
+ :value-on-clear="0"
+ step-strictly
controls-position="right"
/>
px
@@ -248,6 +251,9 @@
v-model="form.float_location.y.value"
:min="0"
:step="1"
+ :precision="0"
+ :value-on-clear="0"
+ step-strictly
controls-position="right"
/>
px
@@ -268,6 +274,7 @@
v-model="form.disclaimer_value"
style="width: 422px; margin-bottom: 10px"
@change="changeValue"
+ :maxlength="128"
/>
@@ -313,7 +320,7 @@ const defaultSetting = {
avatar: '',
float_icon: '',
user_avatar: '',
- disclaimer: true,
+ disclaimer: false,
disclaimer_value: '「以上内容均由 AI 生成,仅供参考和借鉴」',
custom_theme: {
theme_color: '',
@@ -338,7 +345,7 @@ const xpackForm = ref({
avatar: '',
float_icon: '',
user_avatar: '',
- disclaimer: true,
+ disclaimer: false,
disclaimer_value: '「以上内容均由 AI 生成,仅供参考和借鉴」',
custom_theme: {
theme_color: '',