1
0
mirror of https://github.com/sahadev/vue-component-creater-ui.git synced 2025-09-28 07:13:21 +08:00

VCC完成脱离及验证

This commit is contained in:
shangbin
2021-04-22 15:11:31 +08:00
parent 58f104799c
commit 92065271ff
7 changed files with 33 additions and 19 deletions

View File

@@ -156,11 +156,9 @@ export default {
},
createNew() {
window.trackManager.track("lc_on_attribute_add");
this.localAttributes.push({ key: "", value: "" });
},
save() {
window.trackManager.track("lc_on_attribute_save");
try {
@@ -193,11 +191,9 @@ export default {
}
},
remove() {
window.trackManager.track("lc_on_attribute_remove");
this.$emit("remove", { lc_id: this.rawInfoID });
},
deleteItem(index) {
window.trackManager.track("lc_on_element_delete");
this.localAttributes.splice(index, 1);
},
copyBro() {

View File

@@ -66,7 +66,6 @@ export default {
}
},
download() {
window.trackManager.track("lc_on_code_download");
let blob = new Blob([this.prettyCode], {
type: "text/plain;charset=utf-8",
});