Compare commits

..

1 Commits
dev-cl ... main

Author SHA1 Message Date
qsh f5b7a77fb0 sc 2 days ago
  1. 4
      .env.base
  2. 6
      src/views/Question/UAV/Components/QuestionAddForm.vue
  3. 4
      src/views/Question/UAV/index.vue
  4. 3117
      yarn.lock

@ -4,14 +4,14 @@ 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://114.55.169.15:48080'
# VITE_BASE_URL='http://114.215.207.150:48080'
# 上传路径
VITE_UPLOAD_URL='http://47.98.161.246:48080/admin-api/system/file/upload'
VITE_UPLOAD_URL='http://47.98.161.246:48080/admin-api/system/file/upload'
# VITE_UPLOAD_URL='http://114.55.169.15:48080/admin-api/system/file/upload'
# 接口前缀

@ -236,7 +236,7 @@ const dialogForm = ref({
chooseC: undefined,
chooseD: undefined,
imageUrl: undefined,
type: undefined,
type: '2',
trueAnswer: undefined,
carTypeId: undefined,
skillInfoPic: undefined,
@ -257,7 +257,7 @@ const open = (info = undefined, opts) => {
dialogForm.value.driveTypeName = info.driveTypeName
dialogForm.value.carTypeName = info.carTypeName
if (info) {
dialogForm.value = { ...info, chapter: info.chapter }
dialogForm.value = { ...dialogForm.value, ...info, chapter: info.chapter }
if (dialogForm.value.imageUrl) {
imgUrl.value = dialogForm.value.imageUrl.includes('http')
? dialogForm.value.imageUrl
@ -283,7 +283,7 @@ const resetDialogForm = () => {
chooseC: undefined,
chooseD: undefined,
imageUrl: undefined,
type: undefined,
type: '2',
trueAnswer: undefined,
carTypeId: undefined,
skillInfoPic: undefined,

@ -239,7 +239,9 @@ function handleEdit(item) {
function handleAdd() {
dialogAddForm.value.open(
{
chapter: queryParams.value.chapter
chapter: queryParams.value.chapter,
modelId: queryParams.value.modelId,
typeId: queryParams.value.typeId
},
chapterOptions.value
)

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save