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

鍍金池/ 問答
萌二代 回答

InputStream stream = ClassLoader.getSystemResourceAsStream("xx.txt");

        if (stream == null) {
            URL url = ClassLoader.getSystemResource("BOOT-INF");
            if (url != null) {
                String path = url.getFile();
                path = path.substring(5, path.lastIndexOf("!"));
                JarFile jarFile = new JarFile(path);
                JarEntry entry = jarFile.getJarEntry("BOOT-INF/lib/xx.jar");
                InputStream is = jarFile.getInputStream(entry);
                String folder = System.getProperty("java.io.tmpdir");
                File file = new File(folder, "xx.jar");
                OutputStream output = new FileOutputStream(file);
                int bytesRead = 0;
                byte[] buffer = new byte[8192];
                while ((bytesRead = is.read(buffer, 0, 8192)) != -1) {
                    output.write(buffer, 0, bytesRead);
                }
                output.close();
                is.close();
                JarFile jar = new JarFile(file);
                JarEntry jarEntry = jar.getJarEntry("xx.txt");
                stream = jar.getInputStream(jarEntry);
            }
        }
念舊 回答

this.$storeundefined,當(dāng)然報(bào)錯啦

陪妳哭 回答

看報(bào)錯信息啊,已經(jīng)告訴你怎么解決了,webpack4已經(jīng)沒有uglifyjsplugin了,用minimize代替

離夢 回答

實(shí)際上你的方法是很好的了

如果覺著比較麻煩,可以用nodejs批量處理一下,會很快。

終相守 回答

可以嘗試 使用 max-width, 以及 text-overflow

多行 超出省略, 如果要瀏覽器兼容的話 不好用 css , 可以使用 js 去截取字符數(shù).

陌南塵 回答

withCredentials的情況下,后端要設(shè)置Access-Control-Allow-Origin為你的源地址,例如http://localhost:8080,不能是*,而且還要設(shè)置header('Access-Control-Allow-Credentials: true');

旖襯 回答

不難理解,父組件把自身的函數(shù)func_click通過props->funClick傳給子組件,子組件調(diào)用funClick就等于調(diào)用了父組件的func_click實(shí)現(xiàn)了數(shù)據(jù)交互
但官方是推薦按你的思路 即通過$emit進(jìn)行數(shù)據(jù)交互的

瞄小懶 回答

$('#active').attr('transform-origin',screenHeightNew +" "+screenWidthNew )

胭脂淚 回答

我只能簡單說一下,iconfont的圖標(biāo)實(shí)際上是“字”,你看他們的介紹叫字體圖標(biāo),而“字”是有font-size color這些屬性的,至于說運(yùn)用了什么技巧,可能就是把圖標(biāo)轉(zhuǎn)換為了"字"吧。說的不對還請見諒

怣人 回答

給你一個思路,不知道get沒get你的意思

首先用js對圖片寬高進(jìn)行縮放,這個比較容易。

然后用很多種方式可以水平垂直居中;

margin-left: 50%;
margin-top: 50%;
transform: translate(-50%, -50%)

或者在 flex 內(nèi)部

margin:auto

葬憶 回答

給 this.props.children 處理下呢const children = arrayify(this.props.children)

心沉 回答

你的elementUI是哪個版本看了下:2.1才有這個屬性

邏輯改善:
1.在文本框blur時(shí)觸發(fā)校驗(yàn)重復(fù)的API。如果重復(fù)直接提醒用戶重復(fù),重新填寫;
2.不要循環(huán)調(diào)用接口傳遞單個name,而是寫成對象/數(shù)組等一次性提交所有的數(shù)據(jù)

你的瞳 回答

路徑不對吧 public/dist/bundle.js

夢一場 回答

在行中的每個check都要記錄在dataSource中。

  • columus
const columnsMenu = [
      {
        title: '菜單',
        key: 'NAME',
        dataIndex: 'NAME',
      },
      {
        title: '全部',
        key: 'AUTHORITY_ALL',
        dataIndex: 'AUTHORITY_ALL',
        render: (text, record) => (<Checkbox onChange={(e) => this.handleCheckbox(e.target.checked, 'AUTHORITY_ALL', record.ID)} checked={record.AUTHORITY_ALL} value={record.ID} />),
      },
      {
        title: '查看權(quán)限',
        key: 'AUTHORITY_CHECK',
        dataIndex: 'AUTHORITY_CHECK',
        render: (text, record) => (<Checkbox onChange={(e) => this.handleCheckbox(e.target.checked, 'AUTHORITY_CHECK', record.ID)} checked={record.AUTHORITY_CHECK} value={record.ID} />),
      },
      {
        title: '編輯權(quán)限',
        key: 'AUTHORITY_EDIT',
        dataIndex: 'AUTHORITY_EDIT',
        render: (text, record) => (<Checkbox onChange={(e) => this.handleCheckbox(e.target.checked, 'AUTHORITY_EDIT', record.ID)} checked={record.AUTHORITY_EDIT} value={record.ID} />),
      },
    ];
  • handleCheckbox
handleCheckbox(checked, type, id) {
    let {dataSource} = this.props;
    dataSource = dataSource.map(data => {
        if(data.ID === id) {
            data[type] = checked;
            if(type === 'AUTHORITY_ALL') {
                data['AUTHORITY_EDIT'] = checked;
                data['AUTHORITY_CHECK'] = checked;
            } else {
                data['AUTHORITY_ALL'] = data['AUTHORITY_EDIT'] && data['AUTHORITY_CHECK'];
            }
        }
        return data;
    });
    
    dispatch({type: 'xxxx', dataSource});
}
絯孑氣 回答

為什么不看官網(wǎng)看百度啊。

https://facebook.github.io/re...

npm install -g react-native-cli
念初 回答

this指向問題啊,
clipboard.png

beforeDestroy(){}直接用this就好了,一般的地方都用箭頭函數(shù),省的來回找this指向
上面使用this.id=setInter...
下邊clear(this.id)