0

我在这里散步是因为我正在尝试在 Wordpress 主题中使用 Listjs 实现一个名为 Multiple-Select 的库,以过滤可用的选项。有趣的是,在我的本地,它可以在一个下拉列表中完美运行,您可以在这里看到它:http: //dcc04716.ngrok.io/property

但是当我将它加载到登台服务器时,它不像单个选择/下拉列表(作为本地)那样工作。它工作的唯一方法是使它成为一个多选/下拉菜单,我不希望这样: http: //lri.clientdemos.net/property/

所以,我一直在检查会发生什么,但不知道。

我可以将多选转换为单个或其他东西吗?

拜托,我分享我的代码(为了快速测试,我正在加载文件中的库而不是wp_enqueue_script顺便):

https://gist.github.com/jmanzo/35d10e9a1403bbe89d0891fe3755324a

4

1 回答 1

0

You are facing the issue on the staging server because the multi-select js file path is wrong. I have attached the screenshot for your reference.

enter image description here

enter image description here

于 2018-04-05T18:02:45.047 回答