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