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);