PageSourceSearch

https://cdn.nocobase.com/2.4.0-alpha.9.20260930161833/assets/7211-518822f0.js

js nocobase.com collected 2026-10-02 09:56:21 UTC 684 bytes, 9 lines download raw bytes

1"use strict";(globalThis.webpackChunknocobase=globalThis.webpackChunknocobase||[]).push([["7211"],{29846(e,o,i){i.r(o),i.d(o,{default:()=>a});let a={contexts:["*"],versions:["*"],prefix:"sn-open-dialog",label:"Open view (dialog)",description:"Open a view in dialog via ctx.openView",locales:{"zh-CN":{label:"打开视图(对话框)",description:"通过 ctx.openView 以对话框方式打开视图"}},content:`
2// Open a view as dialog and pass arguments at top-level
3const popupUid = ctx.model.uid + '-1'; // popupUid should be stable and better bound to ctx.model.uid
4await ctx.openView(popupUid, {
5  mode: 'dialog',
6  title: ctx.t('Sample dialog'),
7  size: 'medium',
8});
9`}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.