From 16a64d2f27a28ad4c52d05f3b66b7c068f52bad0 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Tue, 15 Sep 2020 21:52:08 +0800 Subject: [PATCH] fix: wrong assignment --- src/components/CodemirrorEditor/uploadImgDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CodemirrorEditor/uploadImgDialog.vue b/src/components/CodemirrorEditor/uploadImgDialog.vue index 600714c..5dc70b2 100644 --- a/src/components/CodemirrorEditor/uploadImgDialog.vue +++ b/src/components/CodemirrorEditor/uploadImgDialog.vue @@ -156,7 +156,7 @@ export default { this.formAliOSS = JSON.parse(localStorage.getItem("aliOSSConfig")); } if (localStorage.getItem("txCOSConfig")) { - this.formAliOSS = JSON.parse(localStorage.getItem("txCOSConfig")); + this.formTxCOS = JSON.parse(localStorage.getItem("txCOSConfig")); } if (localStorage.getItem("imgHost")) { this.imgHost = localStorage.getItem("imgHost");