mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-06 14:50:25 +08:00
选择证书时,如果证书列表为空,则提示可以搜索未指定用户证书
This commit is contained in:
@@ -24,9 +24,12 @@ Vue.component("user-selector", {
|
||||
} else {
|
||||
this.$emit("change", 0)
|
||||
}
|
||||
},
|
||||
clear: function () {
|
||||
this.$refs.comboBox.clear()
|
||||
}
|
||||
},
|
||||
template: `<div>
|
||||
<combo-box placeholder="选择用户" :data-url="dataURL" :data-key="'users'" data-search="on" name="userId" :v-value="userId" @change="change"></combo-box>
|
||||
<combo-box placeholder="选择用户" :data-url="dataURL" :data-key="'users'" data-search="on" name="userId" :v-value="userId" @change="change" ref="comboBox"></combo-box>
|
||||
</div>`
|
||||
})
|
||||
Reference in New Issue
Block a user