Vue's error report, a pull-down menu that imitates Baidu.

The error reported by

is

clipboard.png

here is the code
< template >


< div class= "container search-container" id= "app" >

<h1 class="title" >baidu-search</h1>
<input type="text" class="form-control" placeholder="" v-model="keyword" @keyup="get($event)" @keydown.down.prevent="selectDown"
@keydown.up.prevent="selectUp">
<ul>
    <li class="text-center" v-for="(value,index) in myData"><span class="text-success textprimary" :class="{gray:index==now}">{{value}}</span></li>
</ul>
<p ><h2 v-show="myData.length==0" class="text-warning text-center">(*^__^*)</h2>

< / div >
< / div >
< / template >

< script >

export default {
data () {

 return{
        myData:[],
        keyword:"",
        now:-1
    }

},
    methods:{
        get:function (event) {
            if(event.keyCode==38||event.keyCode==40)return;
            if(event.keyCode==13){
                window.open("https://www.baidu.com/s?wd="+this.keyword);
                this.keyword=""
            }
            this.$http.jsonp("https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su",{
                wd:this.keyword
            },{
                jsonp:"cb"
            }).then(function (res) {
                this.myData=res.data.s;
            },function () {

            });
        },
        selectDown:function () {
            this.nowPP;
            if(this.now==this.myData.length)this.now=-1;
            this.keyword=this.myData[this.now];
        },
        selectUp:function () {
            this.now--;
            if(this.now==-2)this.now=this.myData.length-1;
            this.keyword=this.myData[this.now];
        }
    }

}
< / script >

< style scoped >

< / style >

May.08,2021

is there a sug (pretty girl?)


where is the sug upstairs


seeing an error, I suddenly find that I seem to have encountered it too. It seems to be caused by a hot update. Refresh it again

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36ae4-2c016.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36ae4-2c016.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?