多条件查询页面的参数都是动态的,并且我们通常还会有默认加载页面.此时,动态添加参数非常重要,其中baseparam是解决问题的关键. @ 将查询条件定义为一个全局变量 var param_01 = ""; var param_02 = ""; @ Ext.data.Store 默认加载时给param_01和param_02赋值,也可以直接在params直接给定量 var store = new Ext.data.Store({ autoLoad :{params :…
In this lesson, you will learn how to add a Parametrized Action. These types of Actions are slightly more complex than the Simple Actions you learned about in the previous lesson. The Parametrized Action provides an editor, so that an end-user can in…
using UnityEngine; using System.Collections; public class Try : MonoBehaviour { public class Action : ScriptableObject { public Transform Att; public Transform Def; } // Use this for initialization void Start () { Action act = new Action(); act.Att =…