bug
This commit is contained in:
@@ -89,7 +89,6 @@ export default {
|
||||
...mapState(['user']),
|
||||
},
|
||||
onLoad(option) {
|
||||
uni.showLoading({title: '加载中'})
|
||||
this.word = option.word
|
||||
this.$dict.load('sex', 'nation').then(() => {
|
||||
this.getInfo()
|
||||
@@ -100,6 +99,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getInfo() {
|
||||
uni.showLoading({title: '加载中'})
|
||||
this.$http.post(`/app/appbaiduai/queryByInfo?word=${this.word}`).then((res) => {
|
||||
if (res.code === 0) {
|
||||
this.info = {...res.data}
|
||||
|
||||
Reference in New Issue
Block a user