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 App from './App.vue'
|
||||||
import router from './router'
|
import router from './router'
|
||||||
|
import WriteLogo from './components/writeLogo.vue'
|
||||||
|
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
|
|
||||||
|
// Регистрируем компоненты глобально
|
||||||
|
app.component('WriteLogo', WriteLogo)
|
||||||
|
|
||||||
app.use(pinia)
|
app.use(pinia)
|
||||||
app.use(router)
|
app.use(router)
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
:disabled="loading">
|
:disabled="loading">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="password" placeholder="Пароль" class="form-input" v-model="credentials.password" required
|
<input type="password" placeholder="Пароль" class="form-input" autocomplete="current-password"
|
||||||
:disabled="loading">
|
v-model="credentials.password" required :disabled="loading">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="submit" class="btn btn-primary" :disabled="loading">
|
<button type="submit" class="btn btn-primary" :disabled="loading">
|
||||||
|
|||||||
Reference in New Issue
Block a user