前端手册

video,ifram删掉下载/全屏等按钮

 <video controls controlsList='nofullscreen nodownload noremote footbar' ></video>

标准接口请求

//查询内容分类
    queryModuleContentNumbByModuleId(params){
      let api = prod_host + 'module/queryModuleContentNumbByModuleId';
      //  返回send方法结果(primise对象)
      return ajax({
        url: api,
        data:params,
        method: 'post'
      });
    },


this.fullscreenLoading = true;
          moduleApi.queryModuleContent    NumbByModul        eId(obj).then(data => {
            if(data.state == 0 ){
              if(data.data > 0){
                successMsg({ message: "操作成功" });
              }else{
                this.doDelColumn(obj);
              }
            } else{
              errorMsg({
                message: "查询栏目内容数目失败"
              });
            }
          })
          .finally(() => this.fullscreenLoading = false)

确认框:

	this.$confirm('确认将此用户添加到黑名单?','提示',{
							confirmButtonText: '确定',
							cancelButtonText: '取消',
			}).then(()=>{
				
				},()=>{
					
				})
				.finally(() => this.fullscreenLoading = false);
			});

触发顺序调整

_this.$nextTick(() => {
                    _this.setSort();
                  })

map循环:

this.ids = val.map(data => {
        return data.id;
      });

查看参数

man ps
ps -aux
ps -ef

获取vuex里的参数

import { mapState} from "vuex";

computed: {
  ...mapState(["global"]),
},

this.userId = this.global.userInfo.uid;

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值