mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-22 22:33:11 +08:00
Fixed vue component error
This commit is contained in:
parent
d29b177c84
commit
08e58bab79
|
@ -125,6 +125,4 @@ const methods = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const computed = [];
|
module.exports = {template, data, props, methods};
|
||||||
|
|
||||||
module.exports = {template, data, props, methods, computed};
|
|
|
@ -9,8 +9,6 @@ let data = {
|
||||||
const components = {draggable, autosuggest};
|
const components = {draggable, autosuggest};
|
||||||
const directives = {};
|
const directives = {};
|
||||||
|
|
||||||
let computed = {};
|
|
||||||
|
|
||||||
let methods = {
|
let methods = {
|
||||||
|
|
||||||
addEmptyTag() {
|
addEmptyTag() {
|
||||||
|
@ -64,5 +62,5 @@ function mounted() {
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
data, computed, methods, mounted, components, directives
|
data, methods, mounted, components, directives
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user