没有生成导入功能时,缺少 ref 导入

This commit is contained in:
thinkgem
2025-09-02 10:07:49 +08:00
parent 975ee600c0
commit b250c9cf2b

View File

@@ -94,7 +94,7 @@ if(table.isTreeEntity){
</div>
</template>
<script lang="ts" setup name="${compNamePrefix}List">
import { onMounted<% if(toBoolean(table.optionMap['isImportExport'])){ %>, ref<% } %>, unref<% if(table.isTreeEntity || isNotBlank(table.optionMap['leftTreeRightTableFk'])){ %>, watch<% }
import { onMounted, ref, unref<% if(table.isTreeEntity || isNotBlank(table.optionMap['leftTreeRightTableFk'])){ %>, watch<% }
%><% if(table.isTreeEntity){ %>, nextTick<% } %> } from 'vue';
<% if(@StringUtils.contains(table.tplCategory, '_route')) { %>
import { useEmitter } from '@jeesite/core/store/modules/user';