From b0d56b1f796c4b675fb412473116f02316ed2d0a Mon Sep 17 00:00:00 2001 From: ngfchl Date: Wed, 4 Jan 2023 21:17:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E9=99=A4=E9=A1=B5=E9=9D=A2=E5=86=97?= =?UTF-8?q?=E4=BD=99=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/auto_pt/settings.html | 34 ++++++++------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) diff --git a/templates/auto_pt/settings.html b/templates/auto_pt/settings.html index 7595597..698e072 100644 --- a/templates/auto_pt/settings.html +++ b/templates/auto_pt/settings.html @@ -15,7 +15,9 @@ font-family: 'Heiti SC'; line-height: 24px; border: 1px solid #eee; - height: 600px; + height: 800px; + min-height: 780px; + max-height: 800px; width: 100%; word-spacing: 3px; letter-spacing: 2px; @@ -23,21 +25,6 @@ overflow-y: scroll; word-break: break-all; } - - settings { - background-color: #1f2c39 !important;; - color: whitesmoke; - border: 2px solid dimgrey; - border-radius: 3px; - line-height: 20px; - font-size: 16px; - width: 100%; - height: 700px; - padding: 5px; - overflow-y: scroll; - word-break: break-all; - } - @@ -53,9 +40,7 @@
- - +
@@ -72,9 +57,6 @@ }, beforeMount() { this.get_config_settings() - }, - mounted() { - }, methods: { get_config_settings() { @@ -118,7 +100,7 @@ settings: this.settings } }).then(res => { - console.log('获取数据列表成功', res) + console.log(res) {#let data = res.data#} {#console.log(typeof res.data.data)#} if (res.data.code === 0) { @@ -132,14 +114,14 @@ this.loading = false this.$message({ type: 'warning', - message: '获取数据列表失败!' + message: res.data.msg }); } }).catch(res => { - console.log('获取数据列表失败', res) + console.log('保存失败', res) this.$message({ type: 'warning', - message: '获取数据列表失败!' + res + message: '数据保存失败!' + res }); }) }