From 1ec1bbf98a0444f0f342aa740e04dad5a2a1588d Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 1 Jun 2020 18:04:36 +0800 Subject: [PATCH] question img --- test_client/.env.production | 2 +- .../src/views/question/questioncreate.vue | 29 +++++++++++++++++++ .../src/views/question/questionupdate.vue | 29 +++++++++++++++++++ .../question/migrations/0012_question_img.py | 18 ++++++++++++ test_server/question/models.py | 1 + 5 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 test_server/question/migrations/0012_question_img.py diff --git a/test_client/.env.production b/test_client/.env.production index 871197e..7c60998 100644 --- a/test_client/.env.production +++ b/test_client/.env.production @@ -3,4 +3,4 @@ ENV = 'production' # base api # VUE_APP_BASE_API = '/prod-api' -VUE_APP_BASE_API = 'http://apitest.ahctc.cn' +VUE_APP_BASE_API = 'https://apitest.ctcshe.com' diff --git a/test_client/src/views/question/questioncreate.vue b/test_client/src/views/question/questioncreate.vue index 3b414aa..b9dc436 100644 --- a/test_client/src/views/question/questioncreate.vue +++ b/test_client/src/views/question/questioncreate.vue @@ -32,6 +32,20 @@ + + + + 点击上传 + + @@ -90,12 +104,17 @@