Vue.js方法在php include中不起作用

时间:2019-09-28 00:17:41

标签: php vue.js

我的代码有问题。当我将VueJ放入include(PHP)时,此方法不起作用!

我只是在使用VueJs和PHP

methods: {

        servicesSingleControl(y) {

            this.panelServicesSingle = y


            if (this.panelServicesSingle >= 1 && this.panelServicesSingle <= this.totalServicesSingle){
                this.nextServicesSingle = y+1;
                this.prevServicesSingle = y-1;
            }else{
                this.errorServicesSingle='false';
            }
        }
    }
}).$mount('#services-single')

0 个答案:

没有答案