| | |
| | | <router-link to="/link">友人帐</router-link> |
| | | <router-link to="/platform">月台</router-link> |
| | | <router-link to="/login">登录</router-link> |
| | | <router-link to="/edit" v-if="showHidenButton">编辑</router-link> |
| | | <!-- <router-link to="/comment">测试页</router-link> --> |
| | | </div> |
| | | </a-col> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import myConstant from "../../config/myConstant.js" |
| | | export default { |
| | | mounted() { |
| | | let tempVisitorData = localStorage.getItem(myConstant.visitorDataKey); |
| | | if (tempVisitorData != null && JSON.parse(tempVisitorData).nickName == myConstant.userName) { |
| | | //this.$message.info("认证成功..") |
| | | this.showHidenButton = true |
| | | } |
| | | |
| | | let self = this; |
| | | let code = 0; |
| | | let code2 = 0; |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | showHidenButton: false, |
| | | search: { |
| | | placeholder: "ctrl+shift+f/enter", |
| | | //placeholder: "ctrl+shift+f/enter", |
| | | placeholder: "搜索框未营业..", |
| | | // allowClear: true, |
| | | // autoFocus: true, |
| | | backfill: true, |