Skip to content

Commit

Permalink
fix: allow change api url && readme
Browse files Browse the repository at this point in the history
  • Loading branch information
muzea committed Jun 4, 2019
1 parent abef42c commit e10f2bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ interface Config {

示例参见 [示例配置](config.json)

## web 控制台

提供了一个[简陋的web](https://muzea.github.io/portfwd/web/)

## api

- 均要求数据为 `application/json`
Expand Down
5 changes: 5 additions & 0 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
<el-button @click="handleAdd" type="primary" plain
>添加一个</el-button
>
<div style="float: right;">
<el-input placeholder="api host" v-model="api">
<template slot="prepend">api地址</template>
</el-input>
</div>
<el-table :data="tableData" style="width: 100%" row-key="local">
<el-table-column prop="local" label="local" width="120px">
</el-table-column>
Expand Down

0 comments on commit e10f2bd

Please sign in to comment.