mirror of
https://github.com/sahadev/vue-component-creater-ui.git
synced 2025-06-06 13:04:05 +08:00
fix: 修复一直以来的生命周期错误
This commit is contained in:
parent
56ebbba133
commit
b1a4fda2e1
@ -65,7 +65,7 @@ export default {
|
||||
mounted() { },
|
||||
beforeUpdate() { },
|
||||
updated() { },
|
||||
destoryed() { },
|
||||
destroyed() { },
|
||||
methods: {
|
||||
// 在此自动生成
|
||||
request() {
|
||||
|
@ -152,7 +152,7 @@ export default {
|
||||
},
|
||||
beforeUpdate() { },
|
||||
updated() { },
|
||||
destoryed() { },
|
||||
destroyed() { },
|
||||
methods: {
|
||||
convertLogicCode(JSCode) {
|
||||
try {
|
||||
|
@ -89,7 +89,7 @@ export default {
|
||||
mounted() { },
|
||||
beforeUpdate() { },
|
||||
updated() { },
|
||||
destoryed() { },
|
||||
destroyed() { },
|
||||
methods: {
|
||||
release() {
|
||||
this.loading = true;
|
||||
|
@ -55,7 +55,7 @@ export default {
|
||||
},
|
||||
beforeUpdate() { },
|
||||
updated() { },
|
||||
destoryed() { },
|
||||
destroyed() { },
|
||||
methods: {
|
||||
|
||||
onNodeClick(nodeInfo) {
|
||||
|
@ -79,7 +79,7 @@ export default {
|
||||
mounted() { },
|
||||
beforeUpdate() { },
|
||||
updated() { },
|
||||
destoryed() { },
|
||||
destroyed() { },
|
||||
methods: {
|
||||
updateLogicCode(newCode) {
|
||||
if (newCode) {
|
||||
|
@ -42,7 +42,7 @@ export default {
|
||||
mounted() { },
|
||||
beforeUpdate() { },
|
||||
updated() { },
|
||||
destoryed() { },
|
||||
destroyed() { },
|
||||
methods: {
|
||||
handleClose() {
|
||||
this.$emit("update:vueDialogVisible", false);
|
||||
|
@ -414,7 +414,7 @@ const scriptTemplate = `{
|
||||
mounted() {},
|
||||
beforeUpdate() {},
|
||||
updated() {},
|
||||
destoryed() {},
|
||||
destroyed() {},
|
||||
methods: {
|
||||
request() {
|
||||
},
|
||||
|
@ -39,7 +39,7 @@ export default {
|
||||
mounted() { },
|
||||
beforeUpdate() { },
|
||||
updated() { },
|
||||
destoryed() { },
|
||||
destroyed() { },
|
||||
methods: {
|
||||
request() { },
|
||||
onButtonClick() { },
|
||||
|
@ -30,7 +30,7 @@ export default {
|
||||
},
|
||||
beforeUpdate() { },
|
||||
updated() { },
|
||||
destoryed() { },
|
||||
destroyed() { },
|
||||
methods: {
|
||||
request() { },
|
||||
onButtonClick() { },
|
||||
|
@ -36,7 +36,7 @@ export default {
|
||||
mounted() { },
|
||||
beforeUpdate() { },
|
||||
updated() { },
|
||||
destoryed() { },
|
||||
destroyed() { },
|
||||
methods: {
|
||||
// 在此自动生成
|
||||
request() {
|
||||
|
@ -58,7 +58,7 @@ export default {
|
||||
mounted() { },
|
||||
beforeUpdate() { },
|
||||
updated() { },
|
||||
destoryed() { },
|
||||
destroyed() { },
|
||||
methods: {
|
||||
// 在此自动生成
|
||||
request() {
|
||||
|
@ -22,7 +22,7 @@ export default {
|
||||
mounted() { },
|
||||
beforeUpdate() { },
|
||||
updated() { },
|
||||
destoryed() { },
|
||||
destroyed() { },
|
||||
methods: {
|
||||
// 在此自动生成
|
||||
request() {
|
||||
|
@ -36,7 +36,7 @@ export default {
|
||||
},
|
||||
beforeUpdate: () => { },
|
||||
updated: () => { },
|
||||
destoryed: () => { },
|
||||
destroyed: () => { },
|
||||
methods: {
|
||||
async compile() {
|
||||
const obj = await html2Json(this.code);
|
||||
|
Loading…
x
Reference in New Issue
Block a user