mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-29 14:04:16 +01:00
-Remove dead code
This commit is contained in:
parent
20ae42aacf
commit
e4c300bee4
@ -11,26 +11,9 @@
|
|||||||
import store from './js/stores/index.js';
|
import store from './js/stores/index.js';
|
||||||
|
|
||||||
export default (props, { $f7, $update }) => {
|
export default (props, { $f7, $update }) => {
|
||||||
// Login screen demo data
|
|
||||||
let username = '';
|
|
||||||
let password = '';
|
|
||||||
|
|
||||||
let theme = store.getters.themeName.value;
|
let theme = store.getters.themeName.value;
|
||||||
|
|
||||||
const updateUsername = (e) => {
|
|
||||||
username = e.target.value;
|
|
||||||
$update();
|
|
||||||
}
|
|
||||||
const updatePassword = (e) => {
|
|
||||||
password = e.target.value;
|
|
||||||
$update();
|
|
||||||
}
|
|
||||||
const alertLoginData = () => {
|
|
||||||
$f7.dialog.alert('Username: ' + username + '<br/>Password: ' + password, () => {
|
|
||||||
$f7.loginScreen.close();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
return $render;
|
return $render;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user