fix(build): 1:windows环境反斜杠导致的几个问题;2:props中使用模板字符串小程序中props中的值会变成"{{";#195
Open
OOMError wants to merge 3 commits intomax-team:0.3.xfrom
OOMError:0.3.x
Open
fix(build): 1:windows环境反斜杠导致的几个问题;2:props中使用模板字符串小程序中props中的值会变成"{{";#195OOMError wants to merge 3 commits intomax-team:0.3.xfrom OOMError:0.3.x
OOMError wants to merge 3 commits intomax-team:0.3.xfrom
OOMError:0.3.x
Conversation
fix(core): 1:使用mixins小程序中无效的问题;
liujiaor
reviewed
Aug 27, 2020
| return function vueCompCreator(options) { | ||
| options.mixins = [getCompMixin(options)]; | ||
| // 如果 options(vue组件的代码)中已有 mixins,则同时保留 options中的 mixins | ||
| options.mixins = (options.mixins || []).concat(getCompMixin(options)); |
| return function (options) { | ||
| options.mixins = [pageMixin]; | ||
| // 如果 options(vue页面的代码)中已有 mixins,则同时保留 options中的 mixins | ||
| options.mixins = (options.mixins || []).concat(pageMixin); |
| // if (type === 3 && !isComp) { | ||
| if (type === 3) { | ||
| attrs[param] = `{{ ${value} }}`; | ||
| // 如果 mars中的 props里使用模板字符串,经过 bable转换之后 value会变成带双引号的字符串拼接 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix(build): 1:windows环境反斜杠导致的几个问题;2:props中使用模板字符串小程序中props中的值会变成"{{";
fix(core): 1:使用mixins小程序中无效的问题;