This commit is contained in:
pushuo 2022-10-14 16:35:52 +08:00 committed by Edward Yang
parent 581a8eb9d7
commit 61fc6ab82a
1 changed files with 8 additions and 0 deletions

View File

@ -179,6 +179,14 @@
submitToken() {
console.log(this.setTokenDialog.token)
if (!this.setTokenDialog.token) {
return;
}
$http.post('{{ admin_route('settings.store_token') }}', {developer_token: this.setTokenDialog.token}).then((res) => {
this.setTokenDialog.show = false;
layer.msg(res.message);
})
}
}
})