更新优化
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { $cache_config } from '@/store/cashe.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -38,6 +39,18 @@
|
||||
// this.content = res.data.content;
|
||||
// }
|
||||
// });
|
||||
console.log($cache_config.agreement)
|
||||
|
||||
uni.request({
|
||||
url: $cache_config.agreement,
|
||||
method: 'GET',
|
||||
success: (res) => {
|
||||
console.log(res.data[154])
|
||||
},
|
||||
fail: (err) => {
|
||||
console.error(err)
|
||||
}
|
||||
})
|
||||
this.$u.get('app/common/type/154').then(res => {
|
||||
this.content = res.data.value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user