feat:选择饭卡类型组件
This commit is contained in:
1 parent
52349bc31f
commit
c0fa9492f0
6 files changed
+363
-7
No files matched your search
@@ -7,11 +7,6 @@
|
||||
<div class="color-primary">{{ v.name }}</div>
|
||||
<div class="pl5 color-success">{{ v.phone }}</div>
|
||||
</div>
|
||||
<template #loading>
|
||||
<svg class="circular" viewBox="0 0 50 50">
|
||||
<circle class="path" cx="25" cy="25" r="20" fill="none" />
|
||||
</svg>
|
||||
</template>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</template>
|
||||
@@ -61,8 +56,10 @@ async function getOptions() {
|
||||
}
|
||||
|
||||
function remoteSearch(params: string) {
|
||||
queryForm.name = params
|
||||
getOptions()
|
||||
if (params != queryForm.name) {
|
||||
queryForm.name = params
|
||||
getOptions()
|
||||
}
|
||||
}
|
||||
|
||||
function clear() {
|
||||
|
||||
Reference in new issue
Block a user