From c64f67086fb4707ffe07fb487aa988ec916646a5 Mon Sep 17 00:00:00 2001
From: ynmlzdwsp <2727940448@qq.com>
Date: Sun, 7 Jan 2024 15:49:03 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E9=A2=84=E6=B5=8B=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/home.vue | 2 +-
src/components/love.vue | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/components/home.vue b/src/components/home.vue
index 70cdd77..b82311f 100644
--- a/src/components/home.vue
+++ b/src/components/home.vue
@@ -41,7 +41,7 @@
diff --git a/src/components/love.vue b/src/components/love.vue
index cef092d..103cf52 100644
--- a/src/components/love.vue
+++ b/src/components/love.vue
@@ -446,7 +446,7 @@ import {listTable1, predictReaction} from "@/utils/table1";
data() {
return {
- predictResult:'000',
+ predictResult:'type预测结果',
smiles1 :'',
smiles2 :'',
userLove: {
@@ -539,10 +539,10 @@ import {listTable1, predictReaction} from "@/utils/table1";
methods: {
/** 预测按钮操作 */
handleQuery() {
- this.predictResult = '预测出错,请重试';
+ this.predictResult = '输入的SMILES错误,请重试';
predictReaction(this.smiles1, this.smiles2)
.then(prediction => {
- this.predictResult = prediction;
+ this.predictResult = "type:"+prediction;
})
.catch(error => {
console.error(error);