CN-64 feat: 搜索框联动
This commit is contained in:
@@ -44,13 +44,16 @@ export default {
|
||||
data () {
|
||||
return {
|
||||
loading: false,
|
||||
username: 'admin',
|
||||
pin: 'Nezha2021'
|
||||
username: '',
|
||||
pin: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['loginSuccess']),
|
||||
login () {
|
||||
if (!this.username || !this.pin) {
|
||||
return
|
||||
}
|
||||
if (!this.blockOperation.query) {
|
||||
this.blockOperation.query = true
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user