lsx 2 жил өмнө
parent
commit
37b76260fc

+ 1 - 8
src/packageOther/about/index.vue

@@ -12,7 +12,7 @@
 		</view>
 		</view>
 		<view v-else>
 		<view v-else>
 			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" :border="true" title="关于我们">
 			<u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" :border="true" title="关于我们">
-				<view class="nav-left flex" slot="left" @click="toIndex()">
+				<view class="nav-left flex" slot="left" @click="$toIndex()">
 					<u-icon name="arrow-left" size="20" color="#333"></u-icon>
 					<u-icon name="arrow-left" size="20" color="#333"></u-icon>
 				</view>
 				</view>
 			</u-navbar>
 			</u-navbar>
@@ -48,13 +48,6 @@
 		onShow() {
 		onShow() {
 			this.pagesNum = getCurrentPages().length
 			this.pagesNum = getCurrentPages().length
 		},
 		},
-		methods: {
-			toIndex() {
-				uni.switchTab({
-					url: `/pages/index/index`
-				})
-			}
-		}
 	}
 	}
 </script>
 </script>
 <style lang="scss" scoped>
 <style lang="scss" scoped>