fetch("https://www.yahoo.com/news/rss", {
mode: 'no-cors', // no-cors, *cors, same-origin
})
<span :class="{'my-class': ids.includes(article.id)}"> {{article.id}} </span>
function asyncAjax(url) {
return new Promice((success, error) => {
$.ajax({
type: 'GET',
url,
success,
error
});
});
}
use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\Rule;
///////
Validator::make($data, [
'vts' => 'numeric|nullable',
'gts' => 'numeric|nullable',
'mobile' => 'numeric|nullable',
'ip_wks' => Rule::unique('workers')->ignore($id)->nullable(),
'ip_int' => Rule::unique('workers')->ignore($id)->nullable()
]);