Added tag filter dialog.
This commit is contained in:
@@ -15,8 +15,11 @@ import Container from '../components/container/container.vue';
|
||||
import Icon from '../components/icon/icon.vue';
|
||||
import Footer from '../components/footer/footer.vue';
|
||||
import Tooltip from '../components/tooltip/tooltip.vue';
|
||||
import Dialog from '../components/dialog/dialog.vue';
|
||||
|
||||
async function init() {
|
||||
let uid = 0;
|
||||
|
||||
const store = initStore(router);
|
||||
const app = createApp(Container);
|
||||
const events = mitt();
|
||||
@@ -38,6 +41,7 @@ async function init() {
|
||||
Footer,
|
||||
Tooltip,
|
||||
'v-popover': Tooltip,
|
||||
Dialog,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -60,6 +64,10 @@ async function init() {
|
||||
isAfter: (dateA, dateB) => dayjs(dateA).isAfter(dateB),
|
||||
isBefore: (dateA, dateB) => dayjs(dateA).isBefore(dateB),
|
||||
},
|
||||
beforeCreate() {
|
||||
this.uid = uid;
|
||||
uid += 1;
|
||||
},
|
||||
});
|
||||
|
||||
app.directive('tooltip', {
|
||||
|
||||
Reference in New Issue
Block a user