feat:修改面授课

This commit is contained in:
lixg
2023-02-26 15:27:58 +08:00
parent 096119df28
commit e800c515ef
8 changed files with 702 additions and 373 deletions

View File

@@ -64,7 +64,11 @@ export default {
setup(props, { emit }) {
const curItem = ref(props.item);
console.log("选项信息", curItem.value, process.env.VUE_APP_FILE_PATH);
curItem.value.imgVal = process.env.VUE_APP_FILE_PATH + curItem.value.imgVal;
if (curItem.value.imgVal) {
curItem.value.imgVal =
process.env.VUE_APP_FILE_PATH + curItem.value.imgVal;
}
const state = reactive({
hasImgName: "",
});