@@ -125,6 +125,9 @@ export default {
},
showNotify() {
this.show = true;
+ setTimeout(() => {
+ this.show = false;
+ }, 200);
defaultNotify() {
this.$notify.setDefaultOptions({
@@ -73,6 +73,9 @@ export default {
```javascript
mounted(){
}
```
## 修改默认配置
@@ -20,8 +20,6 @@
<script>
import { overlayProps, getProps } from '../popup/index';
import Popup from './../popup/popup.vue';
-console.log(overlayProps, 'overlayProps');
-
export default {
name: 'nut-notify',
props: {