更新优化

This commit is contained in:
GaoHao
2025-01-13 16:10:50 +08:00
parent 08a4983e92
commit aae9c397f9
4 changed files with 39 additions and 44 deletions

View File

@@ -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