<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                [TOC] ***** ## 4 helper.js 編譯助手 >[info] import ~~~ ;(導入)數組基礎工具 import { isArray } from 'shared/util' ~~~ >[info] module ~~~ ;基礎警告接口 export function baseWarn (msg) { console.error(`[Vue parser]: ${msg}`) } ;el添加prop export function addProp (el, name, value) { (el.props || (el.props = [])).push({ name, value }) } ;el添加attrs export function addAttr (el, name, value) { (el.attrs || (el.attrs = [])).push({ name, value }) } ;el添加StaticAttr export function addStaticAttr (el, name, value) { (el.staticAttrs || (el.staticAttrs = [])).push({ name, value }) } ;el添加指令 export function addDirective (el, name, value, arg, modifiers) { (el.directives || (el.directives = [])).push({ name, value, arg, modifiers }) } ;el添加style export function addStyleBinding (el, name, value) { const code = `"${name}":${value}` el.styleBinding = el.styleBinding ? el.styleBinding.replace(/}\s?$/, `,${code}}`) : `{${code}}` } ;el添加hook export function addHook (el, name, code) { const hooks = el.hooks || (el.hooks = {}) const hook = hooks[name] if (hook) { hook.push(code) } else { hooks[name] = [code] } } ;el添加事件handler export function addHandler (el, name, value, modifiers) { const events = el.events || (el.events = {}) // check capture modifier if (modifiers && modifiers.capture) { delete modifiers.capture name = '!' + name // mark the event as captured } const newHandler = { value, modifiers } const handlers = events[name] if (isArray(handlers)) { handlers.push(newHandler) } else if (handlers) { events[name] = [handlers, newHandler] } else { events[name] = newHandler } } ;獲取綁定屬性v-bind export function getBindingAttr (el, name, getStatic) { const staticValue = getStatic !== false && getAndRemoveAttr(el, name) return staticValue || staticValue === '' ? JSON.stringify(staticValue) : (getAndRemoveAttr(el, ':' + name) || getAndRemoveAttr(el, 'v-bind:' + name)) } ;獲取幫刪除綁定屬性v-bind export function getAndRemoveAttr (el, name) { let val if ((val = el.attrsMap[name]) != null) { el.attrsMap[name] = null const list = el.attrsList for (let i = 0, l = list.length; i < l; i++) { if (list[i].name === name) { list.splice(i, 1) break } } } return val } ~~~ >[info] export ~~~ ;(導出)基礎警告 export function baseWarn (msg) {} export function addProp (el, name, value) {} export function addAttr (el, name, value) {} export function addStaticAttr (el, name, value) {} export function addDirective (el, name, value, arg, modifiers) {} export function addStyleBinding (el, name, value) {} export function addHook (el, name, code) {} export function addHandler (el, name, value, modifiers) {} export function getBindingAttr (el, name, getStatic) {} export function getAndRemoveAttr (el, name) {} ;(導出)添加事件處理接口 export function addHandler (el, name, value, modifiers) {} ;(導出)獲取綁定屬性 export function getBindingAttr (el, name, getStatic) {} ;(導出)獲取并刪除綁定屬性 export function getAndRemoveAttr (el, name) {} ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看