fix: revert data type

This commit is contained in:
zhouzixin 2024-08-04 00:12:40 +08:00
parent 138fa1f38d
commit d80819f5cc

View File

@ -14,14 +14,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
export const ProfileDataMode = [ export const ProfileDataMode: any[] = [
{ label: "Include Children", value: "include" }, { label: "Include Children", value: "include" },
{ label: "Exclude Children", value: "exclude" }, { label: "Exclude Children", value: "exclude" },
] as const; ];
export const ProfileDisplayMode = [ export const ProfileDisplayMode: any[] = [
{ label: "Tree Graph", value: "tree" }, { label: "Tree Graph", value: "tree" },
{ label: "Flame Graph", value: "flame" }, { label: "Flame Graph", value: "flame" },
] as const; ];
export const NewTaskField = { export const NewTaskField = {
service: { key: "", label: "None" }, service: { key: "", label: "None" },
monitorTime: { key: "0", label: "monitor now" }, monitorTime: { key: "0", label: "monitor now" },