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:
@@ -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() {
|
||||
|
@@ -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",
|
||||
});
|
||||
|
Reference in New Issue
Block a user