我的模板-我的模板中不需要任何形式(app-multiselect是我们自己的下拉菜单)
platform :ios, '10.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
#sdk id libs
source 'https://gitlab-repoxxxxxxxf.fr/dosn/xxxx.git'
source 'https://github.com/CocoaPods/Specs.git'
target 'MyProject' do
use_frameworks!
# Pods for DigiDrive
pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/React'
pod 'React-DevSupport', :path => '../node_modules/react-native/React'
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'react-native-simple-toast', :path => '../node_modules/react-native-simple-toast'
#sdk id libs
pod 'IMPORTANTLIB'
target 'MyProjectTests' do
inherit! :search_paths
# Pods for testing
end
use_native_modules!
end
pre_install do |installer|
Pod::Installer::Xcode::TargetValidator.send(:define_method,
:verify_no_static_framework_transitive_dependencies) {}
end
target 'MyProject-tvOS' do
# Pods for DigiDrive-tvOS
target 'MyProject-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
end
错误:
FrameworksSceneComponent.html:14错误错误:formControlName必须为 与父formGroup指令一起使用。您需要添加一个 表格组 指令并将其传递给现有的FormGroup实例(您可以在类中创建一个)。
function fourdecimalplace(e) { var val = this.value; var re = /^([0-9]+[\.]?[0-9]?[0-9]?[0-9]?[0-9]?|[0-9]+)$/g; var re1 = /^([0-9]+[\.]?[0-9]?[0-9]?[0-9]?[0-9]?|[0-9]+)/g; if (re.test(val)) { //do something here } else { val = re1.exec(val); if (val) { this.value = val[0]; } else { this.value = ""; } }
(forms.js:1558) 在FormControlName.push ../ node_modules/@angular/forms/fesm5/forms.js.FormControlName._checkParentType中 (forms.js:5979) 在FormControlName.push ../ node_modules/@angular/forms/fesm5/forms.js.FormControlName._setUpControl (forms.js:5983) 在FormControlName.push ../ node_modules/@angular/forms/fesm5/forms.js.FormControlName.ngOnChanges (forms.js:5905) 在checkAndUpdateDirectiveInline(core.js:19337) 在checkAndUpdateNodeInline(core.js:27597) 在checkAndUpdateNode(core.js:27559) 在debugCheckAndUpdateNode(core.js:28193) 在debugCheckDirectivesFn(core.js:28153) 在Object.eval [作为updateDirectives](FrameworksSceneComponent.html:14)
有人知道我的模板出了什么问题吗?我想要一个带有2个下拉菜单的子页面,从中选择一些值后,页面上的结果应该会发生变化(从服务中获取数据之后)