xbx #108

Merged
theluyuan merged 10 commits from xbx into master 2020-11-03 02:51:35 +00:00
Showing only changes of commit 613dc56db2 - Show all commits

View File

@ -23,8 +23,8 @@
</a-select-option>
<a-select-option value="Jiangsu"> Jiangsu </a-select-option>
</a-select> -->
<a-select :default-value="quhaolist[0].code" size="small" @change="getquhao" class="getcode">
<a-select-option v-for="(i,j) in quhaolist" :key="j" :value="i.code">
<a-select :default-value="quhaolist[0].name + '+' + quhaolist[0].code" size="small" option-label-prop="label" @change="getquhao" class="getcode" show-search >
<a-select-option v-for="(i,j) in quhaolist" :key="j" :value="i.name + '+' + i.code" :label="'+' + i.code">
{{i.name}}+{{i.code}}
</a-select-option>
<!-- <a-select-option value="Jiangsu"> Jiangsu </a-select-option> -->
@ -206,6 +206,7 @@ export default defineComponent({
function getquhao(e?: any){
console.log(e)
myquhao.value = e.toString()
myquhao.value = myquhao.value.split("+")[1];
console.log(myquhao.value)
}
function login(): void {