Commit d7a98daa authored by renjintao's avatar renjintao

bug

parent ba16e0c2
<template>
<span class="i-layout-header-trigger i-layout-header-trigger-min">
<span class="i-layout-header-trigger i-layout-header-trigger-min">
<Dropdown transfer trigger="hover" @on-click="handleClickUserDropdown">
<span @click="openModelBugAdd">
<Badge :count="bugCount === 0 ? null : bugCount" :overflow-count="99" :offset="[10, 0]">
......@@ -11,15 +11,16 @@
<DropdownItem name="bug">bug列表</DropdownItem>
</DropdownMenu>
</Dropdown>
<Modal title="新增bug" v-model="bugAdd" fullscreen :z-index="10">
<Modal title="新增bug" v-model="bugAdd" fullscreen :z-index="999">
<addBugModal ref="addBug"></addBugModal>
<div slot="footer">
<Button @click="addCancel">取消</Button>
<Button type="primary" @click="addSave">确定</Button>
</div>
</Modal>
</span>
</span>
</template>
<script>
import addBugModal from "@/pages/bug/component/add";
export default {
......@@ -30,14 +31,16 @@ export default {
data() {
return {
bugAdd: false,
bugCount:3
bugCount: 3
};
},
computed: {},
methods: {
async handleClickUserDropdown(name) {
if (name === "bug") {
this.$router.push({ name: "bug" });
this.$router.push({
name: "bug"
});
}
},
openModelBugAdd() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment