Browse Source

fix: 模板错误

es6
iapyang 2 years ago
parent
commit
51d94282d3
  1. 2
      bin/cli/worker/template/worker_thread/worker_thread.t

2
bin/cli/worker/template/worker_thread/worker_thread.t

@ -1,7 +1,7 @@
// TODO: 这边需要先import fineui资源
import { WorkerAbilityTestWorkerThreadAction } from './action/action.worker_ability_test';
class ${WorkerName}WorkerTreadWorker extends BI.Workers.MainThreadWorker {
class ${WorkerName}WorkerTreadWorker extends BI.Workers.WorkerThreadWorker {
public communicationTest: WorkerAbilityTestWorkerThreadAction;
public initActions(): void {

Loading…
Cancel
Save