mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-12 11:55:21 +08:00
不能设置进去
This commit is contained in:
parent
1d48bbc8b7
commit
2c4320c05f
@ -210,7 +210,7 @@ if (fis.project.currentMedia() === 'publish') {
|
||||
to: fis.get('options.d') || fis.get('options.desc') || './lib'
|
||||
})
|
||||
});
|
||||
publishEnv.match('/src/**.{jsx,tsx,js,ts}', {
|
||||
publishEnv.match('/src/**.{jsx,tsx,js,ts,svg}', {
|
||||
isMod: false,
|
||||
standard: false
|
||||
});
|
||||
@ -247,6 +247,9 @@ if (fis.project.currentMedia() === 'publish') {
|
||||
.replace(/('|")(\.\.\/thirds.*?)\1/g, function (_, quote, value) {
|
||||
return '__uri(' + quote + value + quote + ')';
|
||||
});
|
||||
} else if (subpath === '/src/components/icons.tsx') {
|
||||
content = content
|
||||
.replace(/\.svg/g, ".js")
|
||||
} else {
|
||||
content = content.replace(/@require\s+(?:\.\.\/)?node_modules\//g, '@require ');
|
||||
}
|
||||
|
@ -362,7 +362,7 @@ export const FormStore = ServiceStore
|
||||
item = self.items[self.items.length - 1] as IFormItemStore;
|
||||
|
||||
// 默认值可能在原型上,把他挪到当前对象上。
|
||||
setValueByName(item.name, item.value, false, true);
|
||||
setValueByName(item.name, item.value, false, false);
|
||||
|
||||
options && item.config(options);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user