diff --git a/packages/agDatePicker/src/index.vue b/packages/agDatePicker/src/index.vue index 88b8267..26ad253 100644 --- a/packages/agDatePicker/src/index.vue +++ b/packages/agDatePicker/src/index.vue @@ -240,7 +240,7 @@ export default { if(!newVal){ return } - let defaultWidth = this.range ?this.showTime?"330px":"170px" : this.showTime?"190px":"140px"; + let defaultWidth = this.range ?this.showTime?"330px":"200px" : this.showTime?"190px":"150px"; this.width = defaultWidth; }, immediate: true, diff --git a/packages/agMultifunctionSearch/src/index.vue b/packages/agMultifunctionSearch/src/index.vue index 57497f6..4d81229 100644 --- a/packages/agMultifunctionSearch/src/index.vue +++ b/packages/agMultifunctionSearch/src/index.vue @@ -12,7 +12,7 @@ +
+ + + + + +
+ + + + + \ No newline at end of file diff --git a/packages/index.js b/packages/index.js index b14551d..070eb24 100644 --- a/packages/index.js +++ b/packages/index.js @@ -15,6 +15,7 @@ import agMutionCheckbox from './agMutionCheckbox'; import agMultifunctionSearch from './agMultifunctionSearch'; import agDatePicker from "./agDatePicker"; import agNumberRange from "./agNumberRange"; +import agMultionDattePicker from "./agMultionDattePicker"; // 注册组件 @@ -36,8 +37,8 @@ import agNumberRange from "./agNumberRange"; agDatePicker, agMutionCheckbox, agMultifunctionSearch, - agNumberRange - + agNumberRange, + agMultionDattePicker ] // 定义 install 方法,接收 Vue 作为参数(使用 use 注册插件,那么所有的组件都会被注册) @@ -60,20 +61,5 @@ import agNumberRange from "./agNumberRange"; // 导出的对象必须具有 install,才能被 Vue.use() 方法安装 install, // 以下是具体的组件列表 - agInput, - agSelect, - agUpload, - agForm, - agColorPicker, - agQuery, - agTable, - agDialog, - agTabs, - agPagination, - agCol, - agRow, - agMutionCheckbox, - agMultifunctionSearch, - agDatePicker, - agNumberRange + ...components } \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 23c1ac3..0617890 100644 --- a/src/App.vue +++ b/src/App.vue @@ -68,6 +68,13 @@ --> + @@ -138,6 +145,7 @@ export default { checkvalue:[], value: "选项1", a_value: "59584", + datevalues:["4",["2022-12-12","2022-12-13 "]], values: ["4",""], options: [ {