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

鍍金池/ 問答/ 網(wǎng)絡(luò)安全問答
糖豆豆 回答

你把父組件拿到的數(shù)據(jù)當做props傳給子組件啊,不需要緩存

舊言 回答

MyC T前面加個out

熊出沒 回答

getCurrentPosition是異步的,調(diào)用后并不會立即返回結(jié)果。

你的截圖里面已經(jīng)打印錯誤信息了,就是ERROR(3): Timeout expired,說明請求超時了。

抱緊我 回答
package com.elyong.noway;

/**
 * Created by ely ong on 2017/11/27.
 */
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class SimpleGui3C implements ActionListener{
    JFrame frame;
    public static void main(String[] args){
        SimpleGui3C gui=new SimpleGui3C();
        gui.go();
    }
    public void go(){
        //你的這里沒有賦值
        frame=new JFrame();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JButton button=new JButton("Change colors");
        button.addActionListener(this);
        MyDrawPanel drawPanel=new MyDrawPanel();
        frame.getContentPane().add(BorderLayout.SOUTH,button);
        frame.getContentPane().add(BorderLayout.CENTER,drawPanel);
        frame.setSize(300,300);
        frame.setVisible(true);
    }
    public void actionPerformed(ActionEvent event){
        frame.repaint();
    }
}
class MyDrawPanel extends JPanel{
    public void paintComponent(Graphics g){
        Graphics2D g2d=(Graphics2D) g;
        int red=(int)(Math.random()*255);
        int green=(int)(Math.random()*255);
        int blue=(int)(Math.random()*255);
        Color startColor=new Color(red,green,blue);
        red=(int)(Math.random()*255);
        green=(int)(Math.random()*255);
        blue=(int)(Math.random()*255);
        Color endColor=new Color(red,green,blue);
        GradientPaint gradient=new GradientPaint(70,70,startColor,150,150,endColor);
        g2d.setPaint(gradient);
        g2d.fillOval(70,70,100,100);
    }
}
純妹 回答

你可以使用對象云存儲,參考手冊代碼TP5上傳完畢之后會自動在public目錄下創(chuàng)建uploads,主意是5.0.+哦
5.1.+就只能../uploads了

墨小白 回答

經(jīng)過自己查詢很多文章了解到,flume所支持elasticsearch版本較為落后,如果要想使用flume直接向es傳輸,需要使用低版本的es,而且需要修改jar包中的一些方法。flume的更新速度也遠不如es的更新速率,所以應(yīng)該選取其它的日志收集策略

墨沫 回答

這個目前無法監(jiān)聽,之前項目也是遇到這個問題,你要調(diào)用微信的api獲取經(jīng)緯度,然后用高德或者百度地圖去定位

入她眼 回答

在外面套一層子查詢

SELECT * FROM (
    SELECT Id,Yssl,Ysbj,YsslSh,ZcPrice,FcPrice,RgPrice,PriceType,Mark,
    
           (SELECT MakeType FROM [3d_De] WHERE Id=[3d_Cymb_Item].De_Id) AS MakeType
    
    FROM [3d_Cymb_Item] 
    
    WHERE Cymb_Id=833 AND Tree Like'%,11088,%' AND Unit<>'' 
)
WHERE MakeType=1

不過我更建議用內(nèi)聯(lián)的方式

SELECT Id,Yssl,Ysbj,YsslSh,ZcPrice,FcPrice,RgPrice,PriceType,Mark,

       MakeType

FROM [3d_Cymb_Item] A

INNER JOIN [3d_De] B ON B.Id=A.De_Id

WHERE A.Cymb_Id=833 AND A.Tree Like'%,11088,%' AND A.Unit<>'' AND B.MakeType=1
使勁操 回答

你這個是超時了,先ping一下服務(wù)器,確保能ping通,然后再看看服務(wù)器防火墻是不是沒有開放端口,定位出問題的點

影魅 回答
@Deprecated
/*     */   public static native Class<?> getCallerClass(int paramInt);

加上int型參數(shù),
沒用過這個方法,嘗試一下
0:返回sun.reflect.Reflection
1:返回當前類的Class對象
2:返回調(diào)用該方法的Class對象

風(fēng)畔 回答

為什么Foo.fa.f不同?簡單的理解是:Foo.f接受一個參數(shù),而a.f已經(jīng)綁定了Foo.f的第一個參數(shù)是a,所以Foo.fa.f是不同的,a.fFoo.f綁定了參數(shù)的版本,這時Foo.f == a.f.__func__
。

官方文檔:

When an instance method object is created by retrieving a user-defined function object from a class via one of its instances, its _self_ attribute is the instance, and the method object is said to be bound. The new method’s _func_ attribute is the original function object.
夏木 回答

vue-i18n 屬于基于vue的一些功能方法封裝
而你這簡單的需求 沒必要改...
至于問題嗎 可能會導(dǎo)致數(shù)據(jù)遺失啊(意外重啟),浪費資源啊(占內(nèi)存)這些毛病

法克魷 回答

debug=False時,開發(fā)服務(wù)器,也就是python manage.py runserver 跑起來的服務(wù)器,是不會處理靜態(tài)資源的,所以找不到.
靜態(tài)資源需要使用nginx或者apache之類的工具維護.

喵小咪 回答

找到答案了,是由于linux自帶的是python2.6,它不允許 {k: size[k] for k in ('width', 'height')}這樣的寫法。安裝python3就可以了

淺時光 回答

這個問題太泛,百度搜一下,有很多有價值的東西。

笑浮塵 回答

!previous條件被你吃了?怎么會每次都為now呢?

悶騷型 回答

mongodb有一個操作符$group