init
This commit is contained in:
23
src/components/main/pageHead.vue
Normal file
23
src/components/main/pageHead.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<div class="table-head-tool ss">
|
||||
<Button shape="circle" v-if="$route.meta.type==='功能'" icon="ios-undo" @click="goBack">返回</Button>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
created() {},
|
||||
|
||||
methods: {
|
||||
goBack() {
|
||||
this.$router.go(-1)
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
</style>
|
||||
Reference in New Issue
Block a user