Browse Source

style: 删除index中没用的alert代码

tall
wally 4 years ago
parent
commit
9c9eec706c
  1. 1
      CHANGELOG.md
  2. 23
      src/pages/index/index.vue

1
CHANGELOG.md

@ -21,6 +21,7 @@
- | 定期任务面板骨架屏添加 | b2698c0
富文本插件 | 富文本插件demo测试 | ed3d644
- | 导入wbs | 1224fcb
- | 导入项目后提示并打开项目详情页 | 410f527
- | 引入dayjs | 29b8b93
- | 提交到本地 | 9cbe411
- | 插件参数处理调整 | a3e68d3

23
src/pages/index/index.vue

@ -12,17 +12,6 @@
<!-- 全局提示框 -->
<u-top-tips ref="uTips"></u-top-tips>
<!-- <u-alert-tips
class="top-0 -inset-x-0"
style="position: fixed !important"
type="error"
:close-able="true"
:title="alert.title"
:show="alert.show"
:description="alert.description"
@close="alert.show = false"
></u-alert-tips> -->
</view>
</template>
@ -40,11 +29,6 @@ export default {
{ date: '2020-08-09' },
// {date: '2020-08-16'}
],
// alert: {
// show: false,
// title: '',
// description: '',
// },
calendar: null,
};
},
@ -92,13 +76,6 @@ export default {
this.getProjects(start, end);
},
// alert
// onShowAlert(event) {
// this.alert.description = event || '';
// this.alert.show = true;
// setTimeout(() => (this.alert.show = false), 10000);
// },
// /
onMove(event) {
const y = event.changedTouches[0].pageY;

Loading…
Cancel
Save