|
@@ -47,6 +47,12 @@ onReady(() => {
|
|
|
console.log('onReady:', uniLayout.value) // onReady: Proxy(Object)
|
|
console.log('onReady:', uniLayout.value) // onReady: Proxy(Object)
|
|
|
console.log('onReady:', uniLayout.value.testUniLayoutExposedData) // onReady: testUniLayoutExposedData
|
|
console.log('onReady:', uniLayout.value.testUniLayoutExposedData) // onReady: testUniLayoutExposedData
|
|
|
})
|
|
})
|
|
|
|
|
+
|
|
|
|
|
+function gotoTabbar() {
|
|
|
|
|
+ uni.switchTab({
|
|
|
|
|
+ url: '/pages/index/index',
|
|
|
|
|
+ })
|
|
|
|
|
+}
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
<template>
|
|
@@ -67,6 +73,11 @@ onReady(() => {
|
|
|
前往 alova 示例页面
|
|
前往 alova 示例页面
|
|
|
</button>
|
|
</button>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="text-center">
|
|
|
|
|
+ <button type="primary" size="mini" class="w-160px" @click="gotoTabbar">
|
|
|
|
|
+ 切换tabbar
|
|
|
|
|
+ </button>
|
|
|
|
|
+ </view>
|
|
|
<view class="text-center">
|
|
<view class="text-center">
|
|
|
<button type="primary" size="mini" class="w-160px" @click="gotoVueQuery">
|
|
<button type="primary" size="mini" class="w-160px" @click="gotoVueQuery">
|
|
|
vue-query 示例页面
|
|
vue-query 示例页面
|