Commit 68bbe4d6 by 李长胜

测试

1 parent 2435c147
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
<span slot="desc" slot-scope="scope"> <span slot="desc" slot-scope="scope">
<div class="refund-box"> <div class="refund-box">
<div class="refund-img-box"> <div class="refund-img-box">
<!-- getHttpsImgUrl(scope.scope.img) -->
<img :src="scope.scope.img" alt="" /> <img :src="scope.scope.img" alt="" />
</div> </div>
<div>{{ scope.scope.reason }}</div> <div>{{ scope.scope.reason }}</div>
...@@ -182,12 +181,10 @@ export default { ...@@ -182,12 +181,10 @@ export default {
mounted() {}, mounted() {},
methods: { methods: {
getHttpsImgUrl(url){ getHttpsImgUrl(url){
if(!url){ if(!url){
return '' return ''
} }
var flag=url.startsWith("http:") var flag=url.startsWith("http:")
// console.log(flag,'快快快')
if(flag){ if(flag){
var newurl= url.replace("http:","https:") var newurl= url.replace("http:","https:")
//去掉http自动带的端口 :7060,https不能有 //去掉http自动带的端口 :7060,https不能有
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!