refactor(client): refactor dialog functions to improve type inference
This commit is contained in:
@@ -221,7 +221,7 @@ export default defineComponent({
|
||||
}).then(i => {
|
||||
os.success();
|
||||
}).catch(err => {
|
||||
os.dialog({
|
||||
os.alert({
|
||||
type: 'error',
|
||||
text: err.id
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user