前端手册

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

猜你喜欢

转载自blog.csdn.net/zfzfzz/article/details/88657999