FA模型使用globalThis能够实现全局变量共享。使用参考: app.ets中: onCreate() { console.info('Application onCreate') globalThis.msg = 'test' ...
水利万物而不争,
而万物莫能与之争。