Then have a Vue data variable called loading which you set to flase before the ajax request, and true after success. Show the spinner depending on the value ...
確定! 回上一頁