支持离线模式

This commit is contained in:
aixianling
2022-12-06 09:46:00 +08:00
parent 72a63e1fdc
commit 09c1251070
3 changed files with 4 additions and 1 deletions

View File

@@ -34,6 +34,7 @@
</template>
<script>
import {mapActions, mapState} from 'vuex'
import config from "../config.json";
export default {
name: "home",
@@ -66,6 +67,7 @@ export default {
uni.navigateTo({url: `${app.path}`})
},
getApps() {
this.apps = config.apps
this.$instance.post("/node/wechatapps/list", null, {
baseURL: "http://dvcp.sinoecare.net/", params: {size: 999, type: 'mp'}, withoutToken: true
}).then(res => {