开发环境同步

This commit is contained in:
aixianling
2021-11-30 14:39:24 +08:00
parent b9c0d7ee9b
commit 7c9f067280
4 changed files with 52 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
<input v-if="!!$route.query.code" class="codeText" :value="$route.query.code"/>
<div class="codeBtn" @click="handleLogin">去登录</div>
<div flex class="appsPane wrap">
<b v-for="app in apps" :key="app.key" @tap="redirectTo(app.path)">{{ app.name }}</b>
<b v-for="app in apps" :key="app.key" @tap="handleGotoApp(app)">{{ app.name }}</b>
</div>
</section>
</template>0
@@ -46,6 +46,10 @@ export default {
}
})
},
handleGotoApp(app) {
console.log(app)
uni.navigateTo({url: `./mainEntry?app=${app.key}`})
},
handleLogin() {
uni.navigateTo({url: "./login"})
},