Git Product home page Git Product logo

Comments (8)

Sayi avatar Sayi commented on May 14, 2024

你好,中括号或者大括号的语法可以暴露出来。

什么场景下会用中文作为模板名称呢?

from poi-tl.

jackMk avatar jackMk commented on May 14, 2024

我们是给客户在线编辑这个文档,客户他不懂这个英文变量,只懂中文,比如[[案件编号]]、[[执法人]]。其他内容都是固定的,只是把这几个变量移动位置

from poi-tl.

OlnyBigRoc avatar OlnyBigRoc commented on May 14, 2024

from poi-tl.

herowzz avatar herowzz commented on May 14, 2024

#98 #101 加入支持中文变量.
例如: {{学生.学号}}

from poi-tl.

cjy9492 avatar cjy9492 commented on May 14, 2024

为啥{{姓名}}就找不到, template.getElementTemplates()是空的,只有英文才能正常识别到

from poi-tl.

Sayi avatar Sayi commented on May 14, 2024

没有Get到用中文的场景,所以现在还是不支持中文,需求很多的话,再考虑打开这个issue

from poi-tl.

funyule avatar funyule commented on May 14, 2024

没有Get到用中文的场景,所以现在还是不支持中文,需求很多的话,再考虑打开这个issue

其实应用场景蛮多的,一般在OA系统里,用于生成特定的文档,使用人员都是不懂编程的,尤其是一些单位里,信息化程度很低的公务员,需要 {{中文}} 这种语法,

from poi-tl.

Edison-Tian avatar Edison-Tian commented on May 14, 2024

场景还是蛮多的,我们现在用的就是将Excel中的元素填充到Word模板中,Excel中的标题是中文的,希望改变

from poi-tl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.