From 8475b9f98c8a4c95446f02be4bf2a64e359c359a Mon Sep 17 00:00:00 2001
From: liwentao <1376563863@qq.com>
Date: 星期五, 11 八月 2023 09:10:31 +0800
Subject: [PATCH] 与测试环境对比,部分代码已被人修改,删除其中的alert和部分硬编码,还原测试环境代码逻辑
---
force-app/main/default/lwc/lexRentalApplyESetRefreshStatus/lexRentalApplyESetRefreshStatus.js | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/lwc/lexRentalApplyESetRefreshStatus/lexRentalApplyESetRefreshStatus.js b/force-app/main/default/lwc/lexRentalApplyESetRefreshStatus/lexRentalApplyESetRefreshStatus.js
index 7cd6690..8fa57d9 100644
--- a/force-app/main/default/lwc/lexRentalApplyESetRefreshStatus/lexRentalApplyESetRefreshStatus.js
+++ b/force-app/main/default/lwc/lexRentalApplyESetRefreshStatus/lexRentalApplyESetRefreshStatus.js
@@ -34,7 +34,6 @@
}).then(result => {
this.refreshResult = result;
-
this.cancelSubmit().then(res=>{
this.IsLoading=false;
this.dispatchEvent(new CloseActionScreenEvent());
@@ -50,14 +49,14 @@
async cancelSubmit(){
if(this.refreshResult == '1') {
- this.showToast('','鐘舵�佹洿鏂板畬姣�','success');
+ this.showToast('','鐘舵�佹洿鏂板畬姣�!','success');
// alert("鐘舵�佹洿鏂板畬姣�!");
location.href = "/"+this.recordId;
} else {
console.log("result:",this.refreshResult);
- this.showToast('','鏇存柊澶辫触锛岃鑱旂郴绠$悊鍛橈紒','warning');
- // alert("鏇存柊澶辫触锛岃鑱旂郴绠$悊鍛橈紒");
+ this.showToast('','鏇存柊澶辫触锛�'+this.refreshResult,'warning');
+ // this.showToast('','鏇存柊澶辫触锛岃鑱旂郴绠$悊鍛橈紒','warning');
}
--
Gitblit v1.9.1