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

鍍金池/ 問答/ HTML問答
拮據(jù) 回答

1.微信web開發(fā)者工具,按照步驟可以用真機(jī)測試移動端頁面,但是就是很難連上真機(jī)。。。
2.vconsole, 插件來的,在webpack上做配置可以在真機(jī)上查看控制臺。

淡墨 回答
還有一個(gè)方式是生成支付信息的時(shí)候,把所有需要的信息insert到數(shù)據(jù)庫,成功后來通知的時(shí)候再update這條記錄,但是這又造成服務(wù)器資源的浪費(fèi)。

你以為微信為啥要你提供一個(gè)商戶訂單號呀?
openid 對應(yīng)單個(gè)服務(wù)主體。or 你既然提到了是「打賞性質(zhì)」就至少來說 不會產(chǎn)生過多的數(shù)據(jù)。支付寶的訂單號也才40位?!

別硬撐 回答
  1. 計(jì)算兩個(gè)盒子的中心點(diǎn)
  2. 用偽元素畫一個(gè) <div> ,用它的某個(gè)邊框作為連線
  3. 用三角函數(shù)計(jì)算盒子的位置,放過去
逗婦惱 回答

找到相關(guān)的源碼了,雖然看不懂:

static PyObject *
gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing)
{
    PyThreadState *tstate = PyThreadState_GET();
    PyFrameObject *f = gen->gi_frame;
    PyObject *result;

    if (gen->gi_running) {
        const char *msg = "generator already executing";
        if (PyCoro_CheckExact(gen)) {
            msg = "coroutine already executing";
        }
        else if (PyAsyncGen_CheckExact(gen)) {
            msg = "async generator already executing";
        }
        PyErr_SetString(PyExc_ValueError, msg);
        return NULL;
    }
    if (f == NULL || f->f_stacktop == NULL) {
        if (PyCoro_CheckExact(gen) && !closing) {
            /* `gen` is an exhausted coroutine: raise an error,
               except when called from gen_close(), which should
               always be a silent method. */
            PyErr_SetString(
                PyExc_RuntimeError,
                "cannot reuse already awaited coroutine");
        }
        else if (arg && !exc) {
            /* `gen` is an exhausted generator:
               only set exception if called from send(). */
            if (PyAsyncGen_CheckExact(gen)) {
                PyErr_SetNone(PyExc_StopAsyncIteration);
            }
            else {
                PyErr_SetNone(PyExc_StopIteration);
            }
        }
        return NULL;
    }

    if (f->f_lasti == -1) {
        if (arg && arg != Py_None) {
            const char *msg = "can't send non-None value to a "
                              "just-started generator";
            if (PyCoro_CheckExact(gen)) {
                msg = NON_INIT_CORO_MSG;
            }
            else if (PyAsyncGen_CheckExact(gen)) {
                msg = "can't send non-None value to a "
                      "just-started async generator";
            }
            PyErr_SetString(PyExc_TypeError, msg);
            return NULL;
        }
    } else {
        /* Push arg onto the frame's value stack */
        result = arg ? arg : Py_None;
        Py_INCREF(result);
        *(f->f_stacktop++) = result;
    }

    /* Generators always return to their most recent caller, not
     * necessarily their creator. */
    Py_XINCREF(tstate->frame);
    assert(f->f_back == NULL);
    f->f_back = tstate->frame;

    gen->gi_running = 1;
    gen->gi_exc_state.previous_item = tstate->exc_info;
    tstate->exc_info = &gen->gi_exc_state;
    result = PyEval_EvalFrameEx(f, exc);
    tstate->exc_info = gen->gi_exc_state.previous_item;
    gen->gi_exc_state.previous_item = NULL;
    gen->gi_running = 0;

    /* Don't keep the reference to f_back any longer than necessary.  It
     * may keep a chain of frames alive or it could create a reference
     * cycle. */
    assert(f->f_back == tstate->frame);
    Py_CLEAR(f->f_back);

    /* If the generator just returned (as opposed to yielding), signal
     * that the generator is exhausted. */
    if (result && f->f_stacktop == NULL) {
        if (result == Py_None) {
            /* Delay exception instantiation if we can */
            if (PyAsyncGen_CheckExact(gen)) {
                PyErr_SetNone(PyExc_StopAsyncIteration);
            }
            else {
                PyErr_SetNone(PyExc_StopIteration);
            }
        }
        else {
            /* Async generators cannot return anything but None */
            assert(!PyAsyncGen_CheckExact(gen));
            _PyGen_SetStopIterationValue(result);
        }
        Py_CLEAR(result);
    }
    else if (!result && PyErr_ExceptionMatches(PyExc_StopIteration)) {
        const char *msg = "generator raised StopIteration";
        if (PyCoro_CheckExact(gen)) {
            msg = "coroutine raised StopIteration";
        }
        else if PyAsyncGen_CheckExact(gen) {
            msg = "async generator raised StopIteration";
        }
        _PyErr_FormatFromCause(PyExc_RuntimeError, "%s", msg);

    }
    else if (!result && PyAsyncGen_CheckExact(gen) &&
             PyErr_ExceptionMatches(PyExc_StopAsyncIteration))
    {
        /* code in `gen` raised a StopAsyncIteration error:
           raise a RuntimeError.
        */
        const char *msg = "async generator raised StopAsyncIteration";
        _PyErr_FormatFromCause(PyExc_RuntimeError, "%s", msg);
    }

    if (!result || f->f_stacktop == NULL) {
        /* generator can't be rerun, so release the frame */
        /* first clean reference cycle through stored exception traceback */
        exc_state_clear(&gen->gi_exc_state);
        gen->gi_frame->f_gen = NULL;
        gen->gi_frame = NULL;
        Py_DECREF(f);
    }

    return result;
}
任她鬧 回答

/[a-zA-Z\W_]+/g
你這個(gè)問題說的不夠明確,哪些算特殊字符并沒有明確,我這里的表達(dá)式將空格也作為一種特殊字符對待。

孤慣 回答

如果在String str=new String("abc");之前常量池已經(jīng)存在abc,那可以直接使用ldc指令直接引用,如果沒有會創(chuàng)建。查看常量池可以使用javap -v命令
圖片描述

或者使用jclasslib工具查看
圖片描述

撥弦 回答

nginx里面只配置了靜態(tài)頁面的可以通過3002訪問,但是并沒有配置接口的映射。
假如接口都是通過/api訪問的話,那么nginx里面應(yīng)該增加下列配置

upstream backend {
    server xxx.xxx.xxx.xxx:4000 // 接口的ip和端口地址
}
server {
    ....
    location /api {
       proxy_pass http://backend
    }
}
孤酒 回答

這個(gè)叫SPA,主要依賴html5 history API,和PHP(與其他后端技術(shù))幾無關(guān)系。

傻丟丟 回答

view層react + bootstrap4(偏后臺用 ant design),狀態(tài)管理上redux + react-redux,業(yè)務(wù)流控制上redux-saga

墻頭草 回答

iview項(xiàng)目有在用。勞駕上代碼截圖以及控制臺輸出截圖。

六扇門 回答

你有沒有調(diào)用表單驗(yàn)證:

this.$refs['form'].validate(valid => {
    if (valid) {
        // 驗(yàn)證通過
    } else {
        // 任一項(xiàng)驗(yàn)證失敗
    }
})
祉小皓 回答

主要是你沒有在配置中寫入 devtool: 'cheap-source-map' 這個(gè)。
更完整的例子你看看這里
這里有一個(gè) webpack4 例子,你可以查看一下 https://github.com/crlang/eas... 。

熊出沒 回答

count初始值為undefined
對undefined進(jìn)行++操作,使得count變?yōu)镹aN

離觴 回答

work.call(document, 'work');

法克魷 回答

你可以在render的時(shí)候,把url放在data里面不就好了
用它的helper也可以,這里是demo
https://github.com/koajs/koa-...

你的 EveluationDTO 中要求 createTimeDate 類型,但 '2018-03-20' 是一個(gè) string,不是 Date,所以報(bào)錯(cuò)。

報(bào)錯(cuò)信息翻譯下:

屬性 'createTime' 的類型不正確。
類型 'string' 不能賦值給 'Date'