think-template icon indicating copy to clipboard operation
think-template copied to clipboard

不支持跨模块模块@控制器/操作

Open ken678 opened this issue 5 years ago • 6 comments

https://www.kancloud.cn/manual/think-template/1286413手册写了模块@控制器/操作

ken678 avatar Feb 19 '20 05:02 ken678

+1……期待官方修复bug

SmallOyster avatar Apr 21 '20 12:04 SmallOyster

@liu21st https://github.com/top-think/think-template/pull/7 ,我在tp6环境是可用的,请检查

SmallOyster avatar Apr 21 '20 14:04 SmallOyster

@liu21st https://github.com/top-think/think-template/pull/7,我在tp6环境是可用的,请检查

我大概看了下 你这个代码以前官方是有的 后来更新给删除@功能了

ken678 avatar Apr 22 '20 05:04 ken678

@liu21st https://github.com/top-think/think-template/pull/7,我在tp6环境是可用的,请检查

我大概看了下 你这个代码以前官方是有的 后来更新给删除@功能了

关于@那个if就是直接从旧版搬过来的,只不过我再根据tp6的情况再做了一些修改

SmallOyster avatar Apr 22 '20 06:04 SmallOyster

支持,我说下我的需求场景,一个模块中 A include B了,然后在另一个模块中想要 include A就会出现B路劲问题。

zhlhuang avatar Apr 16 '21 02:04 zhlhuang

对于独立的模板引擎来说 没有所谓的模块的概念

liu21st avatar Apr 16 '21 02:04 liu21st