传递参数时加载css时出错

时间:2017-04-28 17:54:55

标签: laravel

当我使用路由返回视图而没有传递参数时,它工作正常,但如果我使用参数返回到同一视图来路由css并且js不加载。为什么会这样?

Route::get('inq', function () {
    return view('inquiry/profile');
});

Route::get('inq/2', function () {
    return view('inquiry/profile');
});

1 个答案:

答案 0 :(得分:0)

使用

if(device.getBondState()==device.BOND_BONDED){

    Log.d(TAG,device.getName());
    //BluetoothSocket mSocket=null;
    try {


        mSocket = device.createInsecureRfcommSocketToServiceRecord(MY_UUID);
    } catch (IOException e1) {
        // TODO Auto-generated catch block
        Log.d(TAG,"socket not created");
        e1.printStackTrace();
    }
    try{

        mSocket.connect();

    }
    catch(IOException e){
        try {

            mSocket.close();
            Log.d(TAG,"Cannot connect");
        } catch (IOException e1) {
            Log.d(TAG,"Socket not closed");
            // TODO Auto-generated catch block
            e1.printStackTrace();
        }


    }
加载资产时