| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <template>
- <appResult :title="title?title:'成功'">
- <button class="admin-button-com big" @click="goBackHome">返回首页</button>
- </appResult>
- <!-- 这个页面在安卓端会卡住,请不要再使用 -->
- </template>
- <script>
- import appResult from "@/components/app-result";
- export default {
- name: "pageSuccess",
- components: {
- appResult,
- },
- data() {
- return {
- title:'',
- };
- },
- onLoad(e){
- this.title = e.title
- },
- onUnload(){
- uni.navigateBack({delta:2})
- },
- methods: {
- closeLayer() {
- uni.navigateBack({delta: 3});
- },
- goBackHome() {
- this.$util.pageTo({ url: "/admin/home/workbench", type: 4, query: { tabIndex: 0 }, })
- },
- },
- };
- </script>
- <style lang="scss" scoped>
- .admin-button-com {
- margin-bottom: 20upx;
- width: 100%;
- }
- </style>
|