mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
fix:评估图片显示
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
{{itteems.singleOptionName}}
|
||||
</div>
|
||||
</div>
|
||||
<img v-if="itteems?.singleOptionPictureAddress" :src="itteems?.singleOptionPictureAddress" alt="" srcset="" style="width: 140px;height:140px;margin-top:5px;">
|
||||
<img v-if="itteems?.singleOptionPictureAddress" :src="VUE_APP_FILE_PATH + itteems?.singleOptionPictureAddress" alt="" srcset="" style="width: 140px;height:140px;margin-top:5px;">
|
||||
<div v-else-if="isExistImg(values.assessmentSingleChoiceVoList, 1)" style="width: 140px;height:140px;margin-top:5px;"></div>
|
||||
<!-- <a-radio :value="indexs" defaultValue>{{iitem.singleOptionName}}</a-radio> -->
|
||||
</div>
|
||||
@@ -84,7 +84,7 @@
|
||||
{{itteems.multipleOptionName}}
|
||||
</div>
|
||||
</div>
|
||||
<img v-if="itteems?.multipleOptionPictureAddress" :src="itteems?.multipleOptionPictureAddress" alt="" srcset="" style="width: 140px;height:140px;margin-top:5px;">
|
||||
<img v-if="itteems?.multipleOptionPictureAddress" :src="VUE_APP_FILE_PATH + itteems?.multipleOptionPictureAddress" alt="" srcset="" style="width: 140px;height:140px;margin-top:5px;">
|
||||
<div v-else-if="isExistImg(values.multipleChoiceVoList, 2)" style="width: 140px;height:140px;margin-top:5px;"></div>
|
||||
<!-- <a-radio :value="indexs" defaultValue>{{iitem.singleOptionName}}</a-radio> -->
|
||||
</div>
|
||||
@@ -147,7 +147,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { reactive, toRefs } from "vue";
|
||||
import { reactive, toRefs, ref } from "vue";
|
||||
import * as api from "@/api/indexTaskManage";
|
||||
|
||||
export default {
|
||||
@@ -246,11 +246,14 @@ export default {
|
||||
return exist;
|
||||
}
|
||||
|
||||
const VUE_APP_FILE_PATH = ref(process.env.VUE_APP_FILE_PATH);
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
afterVisibleChange,
|
||||
closeDrawer,
|
||||
isExistImg
|
||||
isExistImg,
|
||||
VUE_APP_FILE_PATH
|
||||
// change,
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user