我的 AndroidManifest.xml 文件看起来像这样
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.varianttecnology.uberclone">
<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but you must specify either coarse or fine
location permissions for the 'MyLocation' functionality.
-->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!--
The API key for Google Maps-based APIs is defined as a string resource.
(See the file "res/values/google_maps_api.xml"). …Run Code Online (Sandbox Code Playgroud) 我想在下一个js中使用动态链接Image。接下来Js建议
<Image
src="/me.png"
alt="Picture of the author"
width={500}
height={500}
/>
Run Code Online (Sandbox Code Playgroud)
但我想用像
const imageDynamic = [Image][1]
Run Code Online (Sandbox Code Playgroud)
<Image
src="https://en.wikipedia.org/wiki/Image#/media/File:Image_created_with_a_mobile_phone.png" or {imageDynamic}
alt="Picture of the author"
width={500}
height={500}
/>
Run Code Online (Sandbox Code Playgroud)
图像将来自 api,因此图像 src 每次都会更改。我无法在下一个js图像中使用链接,是否可以在下一个js图像中使用链接?