How to prevent input boxes from entering spaces in weex

<input class="searchInput"  :returnKeyType=""search"" @return="rSearch" v-model="goodsName" :placeholder="cateName" @blur="inputBlur" />

how to disable input from entering spaces

Jan.26,2022

solved, thank you

<input  @change="checkNo(goodsName)" class="searchInput" :returnKeyType="'search'" @return="rSearch" v-model="goodsName" :placeholder="cateName" @focus="getFocus" @blur="inputBlur" @input="getValue"  />
 // 
            checkNo(e) {
                let reg = /^\S+$/;
                if (e) {
                    if(new RegExp(reg).test(e) == false) {
                        this.goodsName = this.goodsName.trim()
                    }
                }
            }
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-1b160ce-2affb.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-1b160ce-2affb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?