是否可以在Vue.js中使用方法覆盖?
var SomeClassA = Vue.extend({
methods: {
someFunction: function () {
// ClassA some stuff
}
}
});
var SomeClassB = SomeClassA.extend({
methods: {
someFunction: function () {
// CALL SomeClassA.someFunction
}
}
});
我想从ClassB someFunction调用ClassA someFunction。可能吗