提交 38d7fd5f 编写于 作者: J JiM-W

大名册完成

上级 83d37675
......@@ -9,7 +9,6 @@ const {
const utils = require('./utils');
exports.startCallback = function(matchStart, type, options) {
let lang = options.lang;
let usingComponents = options.usingComponents || [];
let buildInComponents = options.buildInComponents || {};
if (type === 'alipay') {
......@@ -31,7 +30,6 @@ exports.startCallback = function(matchStart, type, options) {
*/
exports.preParseAliComponent = function(source, type, options) {
if (type === 'alipay') {
let lang = options.lang;
let usingComponents = options.usingComponents || [];
let buildInComponents = options.buildInComponents || {};
let exceptTags = ['carousel-item', 'c-tab-item', 'checkbox', 'radio'];// 用于包括哪些组件标签不用被view标签包裹
......
......@@ -165,7 +165,6 @@ _.transformWxDynamicStyleCpxToRpx = function(value) {
_.transformNotInMustacheCpxToRpx = function(value) {
let isNotMustacheCpxToRpxReg = /([^{}]+)?(\{\{[^{}]+\}\})?/g;
let temp = '';
const matches = value.match(isNotMustacheCpxToRpxReg);
value.replace(isNotMustacheCpxToRpxReg, (match, $1, $2, $3) => {
if ($1) {
temp += $1.replace(/cpx/g, 'rpx');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册