关闭页签
This commit is contained in:
@@ -225,6 +225,7 @@ import VueDraggableResizable from 'vue-draggable-resizable'
|
|||||||
import 'vue-draggable-resizable/dist/VueDraggableResizable.css'
|
import 'vue-draggable-resizable/dist/VueDraggableResizable.css'
|
||||||
import DataConfig from './form/DataConfig.vue'
|
import DataConfig from './form/DataConfig.vue'
|
||||||
import ComponentConfig from "./form/componentConfig";
|
import ComponentConfig from "./form/componentConfig";
|
||||||
|
import {mapActions} from "vuex"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "designDashboard",
|
name: "designDashboard",
|
||||||
@@ -310,6 +311,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
...mapActions(['closePage']),
|
||||||
copy(link) {
|
copy(link) {
|
||||||
let oInput = document.createElement('input')
|
let oInput = document.createElement('input')
|
||||||
oInput.value = link
|
oInput.value = link
|
||||||
@@ -373,6 +375,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$router.back()
|
this.$router.back()
|
||||||
}
|
}
|
||||||
|
this.closePage()
|
||||||
},
|
},
|
||||||
save() {
|
save() {
|
||||||
const {did: id} = this.$route.query, {dashboard} = this
|
const {did: id} = this.$route.query, {dashboard} = this
|
||||||
|
|||||||
Reference in New Issue
Block a user