当前位置:网站首页>[background interaction] select to bind the data transferred in the background
[background interaction] select to bind the data transferred in the background
2022-06-11 12:56:00 【It's Yanyan (whose vest)】
html
<Select
v-model="adddata.designee"
multiple
clearable
filter
class="searchSelect"
>
<Option
v-for="item in userList"// data
:value="item.id"
:key="item.id"
>{
{
item.sectiontitle}}-{
{
item.name }}{
{
(work_code)}}</Option
>
</Select>
//js
data(){
return{
userLilst:[]// data
}
}
created(){
this.getUserByUid()
}
getUserByUid() {
// Acquisition personnel
this.request(
"/config/ProjectUser/GetUserLists",// Interface ProjectUser/GetUserLists
"",
"get"
).then((res) => {
if (res.data.ret == 1) {
this.userList = res.data.data;
console.log(JSON.stringify(this.userList));
}
});
},
There is no data in the drop-down box —— Consider interfaces
Log in to your account again , Click the page to be changed F12
The interface is written incorrectly F12,404 The interface parent is written incorrectly
this.request(
"/config/ProjectUser/GetUserLists"// Correct port
边栏推荐
- 021(Keywords Search)(AC自动机)
- 两件小事,感受到了和大神的差距
- In the list of 618 projector hedging brands in 2022, dangbei projection ranked top 1 in the hedging rate of idle fish
- What are the advantages of comprehensive venues?
- How can I use a domain name to access a website?
- pip2pi和pypiserver及Apache在pip本地源配置中的应用实践
- imx6ul开发板移植主线u-boot之EMMC启动流程
- mysql的主从复制
- What problems should be paid attention to in running health preserving physiotherapy center?
- 工作总结之因为笛卡尔积问题写SQL搞了半天[害](附笛卡尔积总结)
猜你喜欢

@Controller和RequestMapping如何解析的

What are the profit sources of mother and baby stores?
![Harmonyos application development -- General app interface framework appgeneralframework[app general framework][api v6]](/img/b6/d1d7d0e670af9505a4fabee76211c6.jpg)
Harmonyos application development -- General app interface framework appgeneralframework[app general framework][api v6]

2、CompletableFuture

Redis data type Daily use Scenarios

Seckill multi-level cache ----- product details page

Audio adaptation of openharmony Standard System Porting

Redis数据类型日常使用场景
![[clearos] install the clearos system](/img/fe/8080c96ea18eb9afd4c4cff2c98b27.jpg)
[clearos] install the clearos system

openharmony标准系统移植之音频适配
随机推荐
刚高考完有些迷茫不知道做些什么?谈一谈我的看法
经营体育馆有哪些要素?
Luo Jing: connection Efficiency Optimization Practice
[untitled]
Simple score statistics
How to synchronize openstack RDO source to local for offline installation
如何同步openstack RDO源至本地进行离线安装
Which brand of bone conduction Bluetooth headset is good? Five most popular bone conduction Bluetooth headsets
DB2数据库重建及表数据迁移探讨研究
分页浏览后搜索无数据
第五章 数据类型(四)
Kehai Rongsheng & zhenghang will jointly welcome the future of digital intelligence with informatization driven management upgrading
秒杀中的验证码安全机制
Redis data type daily use scenarios
Netstat command details
为什么现在的会员制仓储店都集体爆发了?
2、CompletableFuture
How does Wireshark modify the display format of packet capturing time and date?
Oracle DatabaseLink 跨数据库连接
Number selection (greed)