Skip to content

Commit b2bb26b

Browse files
committed
no el needed, id is passed to mount
1 parent 38e19ac commit b2bb26b

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

js/src/services/vue.service.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ class VueService {
9898
*/
9999
createAtkVue(id, componentName, data) {
100100
const app = this.createApp({
101-
el: id, // TODO is it needed with mount?
102101
data: () => ({ initData: data }),
103102
mixins: [this.vueMixins],
104103
});
@@ -119,7 +118,6 @@ class VueService {
119118
*/
120119
createVue(id, componentName, component, data) {
121120
const app = this.createApp({
122-
el: id, // TODO is it needed with mount?
123121
data: () => ({ initData: data, isReady: true }),
124122
mixins: [this.vueMixins],
125123
});

public/js/atkjs-ui.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3391,8 +3391,6 @@ class VueService {
33913391
*/
33923392
createAtkVue(id, componentName, data) {
33933393
const app = this.createApp({
3394-
el: id,
3395-
// TODO is it needed with mount?
33963394
data: () => ({
33973395
initData: data
33983396
}),
@@ -3413,8 +3411,6 @@ class VueService {
34133411
*/
34143412
createVue(id, componentName, component, data) {
34153413
const app = this.createApp({
3416-
el: id,
3417-
// TODO is it needed with mount?
34183414
data: () => ({
34193415
initData: data,
34203416
isReady: true

public/js/atkjs-ui.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/atkjs-ui.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/atkjs-ui.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)