1
0
mirror of synced 2025-12-08 01:57:56 +08:00

fix(editor): 修改样式,修改代码块ID生成逻辑

This commit is contained in:
parisma
2022-09-16 17:24:01 +08:00
committed by jia000
parent 9e1fb42783
commit a452cecc44
6 changed files with 167 additions and 114 deletions

View File

@@ -21,7 +21,7 @@ export default {
name: 'test',
type: 'app',
methods: {
l7znj1q24wilb357ay6: {
code_5336: {
name: 'getData',
// eslint-disable-next-line no-eval
content: eval(`(vm) => {\n console.log("this is getData function")\n}`),
@@ -51,7 +51,7 @@ export default {
fontWeight: '',
},
events: [],
created: ['l7znj1q24wilb357ay6'],
created: ['code_5336'],
items: [
{
type: 'text',