Article 5 of China's Interim Provisions on Wage Payment stipulates that wages shall be paid in legal tender, and physical securities shall not be used instead of money.
Because the US dollar is also one of the forms of currency and the legal tender of the United States of America, it can be used to pay wages. It's just that the payment situation is quite special, and every salary payment needs the approval of the State Administration of Foreign Exchange.