diff --git a/examples/main.js b/examples/main.js
index 4b7068b..f320530 100644
--- a/examples/main.js
+++ b/examples/main.js
@@ -5,6 +5,8 @@ import App from '../src/App.vue'
//基于element组件封装,引入element组件库
import { Input, Select, Option, OptionGroup, DatePicker, Tabs, TabPane, Pagination, Dialog, Button } from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
+import '../src/styles/element-variables.scss'//element 组件样式文件
+
Vue.use(Input);
Vue.use(Select);
Vue.use(OptionGroup);
diff --git a/packages/agDatePicker/src/index.vue b/packages/agDatePicker/src/index.vue
index 95e8ffc..813bcb3 100644
--- a/packages/agDatePicker/src/index.vue
+++ b/packages/agDatePicker/src/index.vue
@@ -128,6 +128,8 @@ export default {
if (!Array.isArray(newVal)) {
throw new Error("agDatePicker date请传入数组");
}
+ console.log(newVal,'newVal');
+
newVal.length > 0 &&
newVal.some(
(item) => item !== null && item !== undefined && item !== ""
@@ -165,6 +167,9 @@ export default {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
+ .el-range-editor.is-active:hover{
+ border: #8a1818;
+ }
.el-input__icon.el-range__close-icon {
position: absolute;
font-size: 12px;
diff --git a/src/App.vue b/src/App.vue
index 7cb98e5..0caa80f 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,20 +1,27 @@
-
-
-
-
-
+
点击打开 Dialog
+
+
+
+
+
+
+
888