Skip to content

Commit

Permalink
前端回车事件优化
Browse files Browse the repository at this point in the history
  • Loading branch information
jiashuaizhang committed Dec 12, 2021
1 parent 20753cd commit 9cf9721
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions yyets-history-ui/src/view/Main.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<template>
<div style="border: 1px solid #eee">
<div class="grid-content bg-purple-light div-content">
<el-form :inline="true" :model="searchForm" class="demo-form-inline">
<el-form :inline="true" :model="searchForm" class="demo-form-inline" @submit.native.prevent>
<el-form-item label="剧目:" class="form-item">
<el-input v-model="searchForm.name" placeholder="剧目" keyup.enter=""></el-input>
<el-input v-model="searchForm.name" placeholder="剧目"></el-input>
</el-form-item>
<el-form-item class="form-item">
<el-button type="primary" :loading="loading" @click="onSubmit">查询</el-button>
Expand Down Expand Up @@ -127,7 +127,7 @@
let defaultIndex = this.resourceLinks.findIndex(link => link.name === 'HR-HDTV'
|| link.name === 'MP4');
this.linkGroup = defaultIndex > -1 ? defaultIndex : 0;
this.resourceLinksTableData = this.resourceLinks[0].items;
this.resourceLinksTableData = this.resourceLinks[this.linkGroup].items;
this.dialogVisible = true;
},
linkGroupChange(linkGroup) {
Expand Down
Binary file modified yyets-history-ui/static/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion yyets-history/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.zhangjiashuai</groupId>
<artifactId>yyets-history</artifactId>
<version>1.0</version>
<version>1.1</version>
<name>yyets-history</name>
<description>a yyets history snapshot</description>
<properties>
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion yyets-history/src/main/resources/static/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>yyets-history-ui</title><link rel="shortcut icon" href=/favicon.ico><link href=/static/css/app.ed97e7e8937515c294f76315ce5bfecb.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.fccd8c50e92f68dc616b.js></script><script type=text/javascript src=/static/js/app.0249f40201c76e10d025.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>yyets-history-ui</title><link rel="shortcut icon" href=/favicon.ico><link href=/static/css/app.ed97e7e8937515c294f76315ce5bfecb.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.fccd8c50e92f68dc616b.js></script><script type=text/javascript src=/static/js/app.9068120f11367698196d.js></script></body></html>
Binary file not shown.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

0 comments on commit 9cf9721

Please sign in to comment.