为什么在vue created方法中手动打开弹框后,关不了 html

×

漏洞检测任务

人工分析
自动化检测
返回

var vm = new Vue({
el: '#rrapp',

data: {


},
created: function () {
    this.getPageChange()
},
methods: {


    getPageChange:function () {
        console.log(123123123)
        $("#TSBModal1").modal('show');  //手动开启
        console.log(222);

    },

                  fanhui: function(){

        $("#TSBModal1").modal('hide');  //手动关闭

    },

https://blog.csdn.net/sunhuaqiang1/article/details/86702926