img bug
This commit is contained in:
parent
e24d67b2cb
commit
4d23b3b5b0
|
@ -57,9 +57,9 @@ App({
|
|||
globalData: {
|
||||
userInfo: {},
|
||||
userinfo: {}, // 服务器传回的消费者信息
|
||||
host: 'https://apitest.ahctc.cn',
|
||||
//host: 'https://apitest.ahctc.cn',
|
||||
mediahost: 'https://apitest.ahctc.cn',
|
||||
//host: 'http://127.0.0.1:8011',
|
||||
host: 'http://127.0.0.1:8011',
|
||||
//mediahost: 'http://127.0.0.1:8000',
|
||||
token : '',
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"useCompilerModule": false,
|
||||
"useCompilerModule": true,
|
||||
"userConfirmedUseCompilerModuleSwitch": false,
|
||||
"useIsolateContext": true
|
||||
},
|
||||
|
|
|
@ -135,7 +135,7 @@ class PaperQuestionsDetailSerializer(serializers.ModelSerializer):
|
|||
level = serializers.ReadOnlyField(source='question.level')
|
||||
class Meta:
|
||||
model = PaperQuestions
|
||||
fields = ('id','name','options','right','type','level','total_score','questioncat_name')
|
||||
fields = ('id','name','options','right','type','level','total_score','questioncat_name', 'img')
|
||||
|
||||
@staticmethod
|
||||
def setup_eager_loading(queryset):
|
||||
|
|
Loading…
Reference in New Issue