diff --git a/.env.base b/.env.base index 7769260..57b5482 100644 --- a/.env.base +++ b/.env.base @@ -4,9 +4,9 @@ VITE_NODE_ENV=development VITE_DEV=true # 请求路径 -VITE_BASE_URL='http://localhost:48080' +# VITE_BASE_URL='http://localhost:48080' -# VITE_BASE_URL='http://47.98.161.246:48080' +VITE_BASE_URL='http://47.98.161.246:48080' # VITE_BASE_URL='http://114.215.207.150:48080' # 上传路径 diff --git a/src/views/Question/Database/Components/QuestionAddForm.vue b/src/views/Question/Database/Components/QuestionAddForm.vue index 44f2d2e..965dd25 100644 --- a/src/views/Question/Database/Components/QuestionAddForm.vue +++ b/src/views/Question/Database/Components/QuestionAddForm.vue @@ -209,7 +209,6 @@ - @@ -224,19 +223,34 @@ + + + + + + + 小车 摩托车 - - - + 科一 科四 + + + + + @@ -299,7 +313,11 @@ const dialogForm = ref({ trueAnswer: undefined, carTypeId: undefined, skillInfoPic: undefined, - source: undefined + source: undefined, + illiteracyAnswer: undefined, + skillInfo: undefined, + skillWords: undefined, + cuoWuLv: undefined }) const dataRule = { @@ -319,7 +337,7 @@ const open = (info = undefined, opts) => { : 'https://ss-cloud.ahduima.com/xjxc/pic/' + dialogForm.value.imageUrl } } - info.source = info.source + dialogForm.value.source = info.source } defineExpose({ @@ -352,7 +370,9 @@ const resetDialogForm = () => { optcWords: undefined, optdWords: undefined, carTypeId: undefined, - source: undefined + source: undefined, + illiteracyAnswer: undefined, + cuoWuLv: undefined } } const dialogFormRef = ref(null) diff --git a/src/views/Question/Database/index.vue b/src/views/Question/Database/index.vue index 5c7b3a1..45baa6c 100644 --- a/src/views/Question/Database/index.vue +++ b/src/views/Question/Database/index.vue @@ -82,8 +82,8 @@

D:{{ row.chooseD }}

- - + + + +