Skip to content

Commit

Permalink
v2.1.0.beta.4
Browse files Browse the repository at this point in the history
button-area v-show="...length>0"
update README.md
  • Loading branch information
laorange committed May 18, 2022
1 parent dccb64c commit a170494
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,24 @@ graph LR
运行后台 --> 按后台提示访问指定网址 --> 输入数据 --> 开始计算 --> 结束
```

## 运行流程

```mermaid
sequenceDiagram
participant 用户
participant 前端
participant 后端
用户->>后端: 启动服务
后端->>用户: 在`http://localhost:8000/`静候佳音
用户->>前端: 访问`http://localhost:8000/`<br/>并填写层合板参数信息
前端->>后端: 提交信息
后端->>后端: 计算层合板的属性
后端->>前端: 返回计算结果
前端->>用户: 将结果渲染为用户可读的界面
```



## 截图

![1.png](demo/demo1.png)
Expand Down
2 changes: 1 addition & 1 deletion src/components/FormArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const store = useStore()
</div>
</n-progress>

<div class="button-area">
<div class="button-area" v-show="store.inputtedLayerInfos.length>0">
<el-button type="primary" :icon="Odometer"
:disabled="!store.whetherCanSubmit"
@click="store.submitToGetResult">
Expand Down

0 comments on commit a170494

Please sign in to comment.