ele+vue简单操作

绑定值和字符串拼接:

1、:title="`字符串${xx}`"

2、:title="'字符串' + xx"

3.异步回调

setTimeReflush: function () {
            var _this = this;
            return new Promise(function (resolve, reject) {
                $.post(BaseUrl + '', function (d) {
                   resolve(d.data)
                });
            })
        },
View Code

 

 

  

 

posted @ 2023-05-23 16:15  ac楚  Views(14)  Comments(0Edit  收藏  举报