Commit ffe79234 authored by sixiaofeng's avatar sixiaofeng

1

parent 02b0d615
<template>
<div class="createteam">
<main-page
left-arrow
@click-left="handleClickLeft"
>
<div class="mx-4 pt-14 pb-2 flex flex-col h-screen">
<div class="mx-4 pt-14 pb-2">
<div class="text-xs text-color-primary bg-color-primary-light px-4 py-3 rounded">
创建团队需选择或添加一台服务器为默认服务器,用于保存企业模块信息,聊天服务器和区块链节点自动配置。
</div>
......@@ -64,13 +63,12 @@
</div>
</div>
</main-page>
</div>
</template>
<script lang="ts">
import Vue from 'vue'
import { Dialog } from 'vant'
import { getUserInfo } from '@/util/Bridge'
import { getUserInfo, goBack } from '@/util/Bridge'
import { trim } from '@/util/Common'
export default Vue.extend({
......@@ -123,6 +121,7 @@ export default Vue.extend({
methods: {
handleClickLeft() {
console.log('click left')
goBack()
},
showServer() {
this.showServerList = !this.showServerList
......@@ -146,6 +145,7 @@ export default Vue.extend({
this.$toast('创建成功')
this.name = ''
this.leaderName = ''
goBack()
} else {
this.$toast(data.msg)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment