Skip to content

Commit

Permalink
style: code style perf
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Nov 2, 2020
1 parent de2b378 commit 06051ef
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 21 deletions.
9 changes: 0 additions & 9 deletions packages/crud-table/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
/*
* @file: packages/textarea/index.js
* @copyright: NanJing Anshare Tech .Com
* @author: BoBo
* @Date: 2020年03月03 11:20:05
*/

// 导入组件,组件必须声明 name
import CrudTable from './src/CrudTable.vue';

// 为组件添加 install 方法,用于按需引入
// eslint-disable-next-line func-names
CrudTable.install = function (Vue) {
Vue.component('CrudTable', CrudTable);
};
Expand Down
2 changes: 1 addition & 1 deletion packages/crud-table/src/CrudTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ export default class CrudTable extends Vue {
btnDeletesOnClick() {
const { length } = this.selectedRows || [];
if (length > 0) {
this.$confirm(`已选中${length}项,确认删除?该操作不可恢复!`, '提示', {
this.$confirm(`已选中${length}项,确认删除?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
Expand Down
9 changes: 0 additions & 9 deletions packages/form-designer/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
/*
* @file: packages/textarea/index.js
* @copyright: NanJing Anshare Tech .Com
* @author: BoBo
* @Date: 2020年03月03 11:20:05
*/

// 导入组件,组件必须声明 name
import FormDesignerDialog from './src/FormDesignerDialog.vue';

// 为组件添加 install 方法,用于按需引入
// eslint-disable-next-line func-names
FormDesignerDialog.install = function (Vue) {
Vue.component(FormDesignerDialog.name, FormDesignerDialog);
};
Expand Down
2 changes: 0 additions & 2 deletions packages/table-designer/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// 导入组件,组件必须声明 name
import TableDesignerDialog from './src/TableDesignerDialog.vue';

// 为组件添加 install 方法,用于按需引入
// eslint-disable-next-line func-names
TableDesignerDialog.install = function (Vue) {
Vue.component(TableDesignerDialog.name, TableDesignerDialog);
};
Expand Down

0 comments on commit 06051ef

Please sign in to comment.