Why did the dynasty make Nanjing its capital for a short time?

The dynasty with Nanjing as its capital was short-lived, which is actually a false proposition.

From a metaphysical point of view, Nanjing lacks the so-called "king". And the so-called "king" in Nanjing has long existed:

Legend has it that when Chu Weiwang destroyed the state of Yue, seeing that Nanjing had a royal spirit, he ordered his men to bury gold by the river north of Lion Mountain (known as Longwan in ancient times). "Ding Jing Jiankangzhi" records: "In the thirty-sixth year of King Xian of Zhou (333 BC), Chu Zixiong defeated Yue in business and took Wu. Because this place has a royal spirit, it is called Jinling because it is buried in gold. " This is why Nanjing is called Jinling.

There is also a legend that Qin Shihuang swam eastward to Moling, a place with "kingliness", and ordered to cut through the hills of southeast Nanjing Mountain and Shijian Mountain, leading the dragon to hide in Pubei and break it into the Yangtze River. According to this legend, it was renamed Qinhuai in the Tang Dynasty. This is Qinhuai River.

From a historical point of view, there are not many really long dynasties in the history of China.

The Xia Dynasty had no history, and the Shang Dynasty moved its capital when it had nothing to do, and the Eastern Zhou Dynasty ruled.

Rights exist in name only. Therefore, from the pre-Qin dynasty, the truly enduring dynasty was Han, Tang, Ming and Qing dynasties for more than 200 years. Besides, Nanjing was the capital of the early Ming Dynasty. It was only after Judy experienced difficulties that he changed the capital to Beijing.

So you see, not only the dynasties with Nanjing as their capital were short-lived, but most dynasties in China were short-lived. Moreover, the dynasties with Nanjing as their capital were not all short-lived, but they failed to establish Nanjing as their capital for other reasons.