jufubao-admin-library 1.1.127 → 1.1.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1042,13 +1042,9 @@ export default {
|
|
|
1042
1042
|
method: "GET",
|
|
1043
1043
|
responseType: "blob", // 重要:设置响应类型为blob
|
|
1044
1044
|
params: {
|
|
1045
|
-
code_content: this.
|
|
1046
|
-
/^\/\//,
|
|
1047
|
-
"https://"
|
|
1048
|
-
),
|
|
1045
|
+
code_content: this.compImgSrc.replace(/^\/\//,"https://").split('?')[0],
|
|
1049
1046
|
},
|
|
1050
1047
|
}).then((res) => {
|
|
1051
|
-
console.log(res, "res");
|
|
1052
1048
|
let blob;
|
|
1053
1049
|
if (res.data) {
|
|
1054
1050
|
blob = new Blob([res.data], { type: "image/png" });
|