Discover: sidebarFilter toggle button done.

This commit is contained in:
chiayin
2023-04-24 12:30:29 +08:00
parent 3d5dba4c42
commit 0cff786e9a
8 changed files with 165 additions and 145 deletions

View File

@@ -36,6 +36,7 @@ import Row from 'primevue/row'; // optional
import RadioButton from 'primevue/radiobutton';
import PickList from 'primevue/picklist';
import Timeline from 'primevue/timeline';
import InputSwitch from 'primevue/inputswitch';
const emitter = mitt();
const app = createApp(App);
@@ -62,7 +63,7 @@ app.use(router);
app.use(VueAxios, axios);
app.use(ToastPlugin, { // use `this.$toast` in Vue.js
position: 'bottom',
duration: 5000,
duration: 3000,
});
app.use(PrimeVue);
app.component('Sidebar', Sidebar);
@@ -79,6 +80,7 @@ app.component('Row', Row);
app.component('RadioButton', RadioButton);
app.component('PickList', PickList);
app.component('Timeline', Timeline);
app.component('InputSwitch', InputSwitch);
app.component('Draggable', draggable); // 拖曳
app.mount("#app");