TP5的自定义标签功能迁移至TP6上,不起作用。 哪位大佬知道怎么回事吗?
标签库的头部这样写有问题吗?
namespace app\index\common\taglib;
use think\template\TagLib;
use think\facade\Db;
class Qdcms extends TagLib
然后在配置文件中 view.php 这样调用 在配置文件中 这样调用 'taglib_pre_load' => 'app\index\common\taglib\Qdcms',
以前TP5就是这样调用的,为什么tp6 不起作用。。有谁知道哪里错了吗???