modified: serv_nginx/bbvue/src/main.js
modified: serv_nginx/bbvue/src/views/Login.vue set WriteLogo ass global component
This commit is contained in:
@@ -5,9 +5,13 @@ import pinia from './stores'
|
||||
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
import WriteLogo from './components/writeLogo.vue'
|
||||
|
||||
const app = createApp(App)
|
||||
|
||||
// Регистрируем компоненты глобально
|
||||
app.component('WriteLogo', WriteLogo)
|
||||
|
||||
app.use(pinia)
|
||||
app.use(router)
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
:disabled="loading">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="password" placeholder="Пароль" class="form-input" v-model="credentials.password" required
|
||||
:disabled="loading">
|
||||
<input type="password" placeholder="Пароль" class="form-input" autocomplete="current-password"
|
||||
v-model="credentials.password" required :disabled="loading">
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary" :disabled="loading">
|
||||
|
||||
Reference in New Issue
Block a user