在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答
涼汐 回答

使用webrtc是可以的,多人的話最好從服務(wù)端考慮。

只愛你 回答

在index.html中引入,在componentDidMount()中使用,和原生一樣

下墜 回答

寫的很明白,把src交給webpack來處理.
html不能識別webpack中的別名
轉(zhuǎn)換成require,不但可以方便書寫路徑,還能避免相對路徑在打包后錯誤的情況
這些被require的文件還會經(jīng)過各自的loader處理,例如小圖片轉(zhuǎn)base64

薔薇花 回答
  1. 針對表格中提出的bug一一修復(fù)
  2. 換linux系統(tǒng)
撿肥皂 回答

通過babel轉(zhuǎn)義的代碼看出來應(yīng)該是原型繼承


class A {
  constructor(a) {
    this.a = a;
  }
  getA() {
    console.log(a)
  }
}

class B extends A {
  constructor(b) {
    super()
    this.b = b;
  }
}

轉(zhuǎn)義后

"use strict";

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var A = function () {
  function A(a) {
    _classCallCheck(this, A);

    this.a = a;
  }

  _createClass(A, [{
    key: "getA",
    value: function getA() {
      console.log(a);
    }
  }]);

  return A;
}();

var B = function (_A) {
  _inherits(B, _A);

  function B(b) {
    _classCallCheck(this, B);

    var _this = _possibleConstructorReturn(this, (B.__proto__ || Object.getPrototypeOf(B)).call(this));

    _this.b = b;
    return _this;
  }

  return B;
}(A);
雅痞 回答

new Date()是個對象
startTime.setDate(startTime.getDate() + 1)這一步操作會修改掉this.searchTime[0]的值。

互擼娃 回答

解決了 ,是密碼寫上了 ,而數(shù)據(jù)庫沒有寫上

夢囈 回答

你新建一個工程打包下是否成功,如果不成功是你環(huán)境的問題。
也有可能是cordova ionic沒有安裝成功,我以前安裝成功都需要科學(xué)上網(wǎng)的。

雨蝶 回答

你先打印你的parameter,然后傳json格式數(shù)據(jù),后臺$data = $this->input->post("data");

初心 回答

webpack 可以項目安裝,避免版本依賴發(fā)生變化引起報錯,這樣老版本程序沒有時間和精力升級時就一直用老版本。正在開發(fā)的程序還是都升級的比較新的穩(wěn)定版比較好。

淺時光 回答

點擊以后,取出當(dāng)前節(jié)點,然后用另外的form,提交之后用代碼把修改覆蓋到樹綁定的對象里。這是我的做法


<el-tree 
ref="tree"
:props="props"
:load="loadChild"
lazy
@current-change="SwitchNode"
:accordion="true"
style="max-height:800px;min-height:400px;background-color:rgba(0,0,0,0.005);box-shadow:0 0 4px 0 #999 inset;padding:10px;user-select:none"
>
</el-tree>

這是獲取選中的node

SwitchNode(data,node){
    this.form.id = data.Id;
    this.form.label = data.label;
    this.form.node = node;
},

這是更新的:

async UpdateLabel(){
    if(this.form.NewName.length===0){
        this.$eve.emit("error","不能為空");
        return;
    }
    let node = this.form.node;
    let name = this.form.NewName;
    let res= await this.$api("sys_department",{cmd:"updatelabel",id:this.form.id,name});
    if(res.status === 200){
        node.data.label = name;
        this.form.NewName = "";
        this.form.label = name;
        this.$eve.emit("success","修改成功");
    }else{
        this.$eve.emit("error",res.msg);
    }
},

我在Form那個對象里直接把node拿到了,所以直接用node.data.label = str就可以更新了

命于你 回答

最后發(fā)現(xiàn)不是JS的問題,是CSS出了問題,我的字體顏色使用了漸變背景+文字透明裁切的方式寫的,動態(tài)渲染的時候出現(xiàn)了這種BUG,如果是去掉這幾個漸變色字體的屬性,顯示就是OK的

貓小柒 回答
這種小駝峰寫法的css怎么稱呼?

答:就叫駝峰式(camelCase)
看文檔與內(nèi)聯(lián) style 綁定(Binding Inline Styles)如下:

v-bind:style 的對象語法是非常簡單直接的 - 看起來非常像 CSS,其實它是一個 JavaScript 對象。CSS 屬性名稱可以使用駝峰式(camelCase)或串聯(lián)式(kebab-case)(使用串聯(lián)式需要加引號)

當(dāng)頁面滾動到底部之后,view始終在頁面的底部所以不再觸發(fā)scorll,所以外層用view,里層用sroll-view綁定bindscroll事件,事件中用

wx.pageScrollTo({
    scrollTop: 0,
    duration: 0
})
病癮 回答

profile.js

function showMsg(msg) {

alert(msg);

}
export {showMsg};

刪除 default

菊外人 回答

應(yīng)該是用到了navigationStyle:custom,把默認(rèn)的隱藏掉,完全自定義

屬性 類型 默認(rèn)值 描述 最低版本
navigationStyle String default 導(dǎo)航欄樣式,僅支持 default/custom。custom 模式可自定義導(dǎo)航欄,只保留右上角膠囊狀的按鈕 微信版本 6.6.0

圖片描述