From 02e02f4995609d4b2f84db6dbfc02fae325fc2bf Mon Sep 17 00:00:00 2001
From: qq787203167 <787203167@qq.com>
Date: Wed, 3 Aug 2022 09:40:51 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=BA=93=E5=8D=95=E5=8F=8C?=
=?UTF-8?q?=E5=BC=95=E5=8F=B7=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jero-web/src/components/libraryAddForm/index.vue | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/jero-web/src/components/libraryAddForm/index.vue b/jero-web/src/components/libraryAddForm/index.vue
index 6e340f31f..5d2f46830 100644
--- a/jero-web/src/components/libraryAddForm/index.vue
+++ b/jero-web/src/components/libraryAddForm/index.vue
@@ -18,6 +18,7 @@
@@ -133,6 +134,7 @@
@@ -303,6 +305,13 @@
disabledDate(current) {
return current && current < moment().subtract(1, 'day')
},
+ replaceLikeVal(comp, item) {
+ if (comp.target.value.indexOf('\'') != -1 || comp.target.value.indexOf('"') != -1) {
+ comp.target.value = comp.target.value.replace(/\'/g, '’').replace(/\"/g, '“')
+ }
+ this.formInline[item] = comp.target.value
+ this.formInline = { ...this.formInline }
+ },
sumber() {
this.$refs.ruleForm.validate(valid => {
if (valid) {