Commit c7076b16 by liuchuanming

set_image_crossorigin

1 parent 113aeb49
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ENV = 'development' ENV = 'development'
# 仟微管理系统/开发环境 # 仟微管理系统/开发环境
VUE_APP_BASE_API = 'http://106.13.236.58:8080' VUE_APP_BASE_API = 'http://146.56.222.200/api'
# VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc' # VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc'
# 开发环境IP # 开发环境IP
......
...@@ -5,4 +5,4 @@ ENV = 'production' ...@@ -5,4 +5,4 @@ ENV = 'production'
VUE_APP_BASE_API = 'http://146.56.222.200' VUE_APP_BASE_API = 'http://146.56.222.200'
# 生产环境IP # 生产环境IP
VUE_APP_BASE_URL = 'http://106.13.236.58:8080' VUE_APP_BASE_URL = 'http://146.56.222.200'
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
v-model="radio" v-model="radio"
> >
<el-radio v-for="(item, index) in list" :label="item" :key="index"> <el-radio v-for="(item, index) in list" :label="item" :key="index">
<img class="img-li" :src="item.materialUrl" alt /> <img crossorigin="anonymous" class="img-li" :src="item.materialUrl" alt />
<div class="ac mt5">{{ item.materialName }}</div> <div class="ac mt5">{{ item.materialName }}</div>
</el-radio> </el-radio>
</el-radio-group> </el-radio-group>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!