绑定值和字符串拼接:
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
标签:function,vue,title,ele,xx,resolve,简单,字符串 From: https://www.cnblogs.com/acchu/p/17414290.html