用户协议优化
This commit is contained in:
@@ -21,17 +21,13 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
created() {
|
||||
let dictData = uni.getStorageSync(this.$cacheKey.dictData)
|
||||
dictData.forEach((item) => {
|
||||
if (item.code === 'appInformationType') {
|
||||
item.children.forEach((item2) => {
|
||||
if (item2.code === 'User_Agreement') {
|
||||
queryAppInfoByType(item2.id).then((res) => {
|
||||
this.value = res.data.content
|
||||
this.loading = false
|
||||
})
|
||||
}
|
||||
async onLoad() {
|
||||
let dictData = await this.$util.getDictData('appInformationType')
|
||||
dictData.forEach((item2) => {
|
||||
if (item2.code === 'User_Agreement') {
|
||||
queryAppInfoByType(item2.id).then((res) => {
|
||||
this.value = res.data.content
|
||||
this.loading = false
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
@@ -21,17 +21,13 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
created() {
|
||||
let dictData = uni.getStorageSync(this.$cacheKey.dictData)
|
||||
dictData.forEach((item) => {
|
||||
if (item.code === 'appInformationType') {
|
||||
item.children.forEach((item2) => {
|
||||
if (item2.code === 'Personal_Infor_Protect') {
|
||||
queryAppInfoByType(item2.id).then((res) => {
|
||||
this.value = res.data.content
|
||||
this.loading = false
|
||||
})
|
||||
}
|
||||
async onLoad() {
|
||||
let dictData = await this.$util.getDictData('appInformationType')
|
||||
dictData.forEach((item2) => {
|
||||
if (item2.code === 'Personal_Infor_Protect') {
|
||||
queryAppInfoByType(item2.id).then((res) => {
|
||||
this.value = res.data.content
|
||||
this.loading = false
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user