mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
优化
This commit is contained in:
parent
56e5357800
commit
e5d8337a81
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cool-vue/crud",
|
"name": "@cool-vue/crud",
|
||||||
"version": "7.1.25",
|
"version": "7.1.26",
|
||||||
"private": false,
|
"private": false,
|
||||||
"main": "./dist/index.umd.min.js",
|
"main": "./dist/index.umd.min.js",
|
||||||
"typings": "types/index.d.ts",
|
"typings": "types/index.d.ts",
|
||||||
|
@ -9,7 +9,20 @@
|
|||||||
|
|
||||||
<cl-flex1 />
|
<cl-flex1 />
|
||||||
|
|
||||||
<cl-search-key refreshOnInput></cl-search-key>
|
<cl-search-key
|
||||||
|
field="name"
|
||||||
|
:field-list="[
|
||||||
|
{
|
||||||
|
label: '昵称',
|
||||||
|
value: 'name'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '手机号',
|
||||||
|
value: 'phone'
|
||||||
|
}
|
||||||
|
]"
|
||||||
|
refreshOnInput
|
||||||
|
></cl-search-key>
|
||||||
</cl-row>
|
</cl-row>
|
||||||
|
|
||||||
<cl-row>
|
<cl-row>
|
||||||
|
@ -26,7 +26,7 @@ export default defineComponent({
|
|||||||
// 宽度
|
// 宽度
|
||||||
width: {
|
width: {
|
||||||
type: [String, Number],
|
type: [String, Number],
|
||||||
default: 300
|
default: 260
|
||||||
},
|
},
|
||||||
// 是否实时刷新
|
// 是否实时刷新
|
||||||
refreshOnInput: Boolean
|
refreshOnInput: Boolean
|
||||||
@ -140,7 +140,6 @@ export default defineComponent({
|
|||||||
<div class="cl-search-key">
|
<div class="cl-search-key">
|
||||||
<el-select
|
<el-select
|
||||||
class="cl-search-key__select"
|
class="cl-search-key__select"
|
||||||
filterable
|
|
||||||
size={style.size}
|
size={style.size}
|
||||||
v-model={selectField.value}
|
v-model={selectField.value}
|
||||||
v-show={props.fieldList.length > 0}
|
v-show={props.fieldList.length > 0}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { createApp } from "vue";
|
import { createApp } from "vue";
|
||||||
import App from "./App.vue";
|
import App from "./App.vue";
|
||||||
// import Crud, { locale } from "./index";
|
import Crud, { locale } from "./index";
|
||||||
import Crud, { locale } from "../dist/index.umd";
|
// import Crud, { locale } from "../dist/index.umd";
|
||||||
import "../dist/index.css";
|
// import "../dist/index.css";
|
||||||
|
|
||||||
import ElementPlus from "element-plus";
|
import ElementPlus from "element-plus";
|
||||||
import "element-plus/dist/index.css";
|
import "element-plus/dist/index.css";
|
||||||
|
@ -38,8 +38,8 @@
|
|||||||
&__select {
|
&__select {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
|
||||||
.el-input__inner {
|
&.el-select {
|
||||||
width: 60px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user